workspace

package
v0.0.0-...-f053229 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByName

type ByName WorkspaceCollection

func (ByName) Len

func (a ByName) Len() int

func (ByName) Less

func (a ByName) Less(i, j int) bool

func (ByName) Swap

func (a ByName) Swap(i, j int)

type ByPath

type ByPath WorkspaceCollection

func (ByPath) Len

func (a ByPath) Len() int

func (ByPath) Less

func (a ByPath) Less(i, j int) bool

func (ByPath) Swap

func (a ByPath) Swap(i, j int)

type ByTime

type ByTime WorkspaceCollection

func (ByTime) Len

func (a ByTime) Len() int

func (ByTime) Less

func (a ByTime) Less(i, j int) bool

func (ByTime) Swap

func (a ByTime) Swap(i, j int)

type Workspace

type Workspace struct {
	Folder   string `json:"folder"`
	Name     string
	Basename string
	Time     int64
}

type WorkspaceCollection

type WorkspaceCollection []Workspace

func (WorkspaceCollection) Sort

func (workspaces WorkspaceCollection) Sort(sortOption string)

func (WorkspaceCollection) Unique

func (workspaces WorkspaceCollection) Unique() WorkspaceCollection

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL