Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/daviddengcn/go-villa
/ types & classes
Types & classes
34 in github.com/daviddengcn/go-villa
⨍
Functions
264
◇
Types & classes
34
↓ 15 callers
TypeAlias
Path
Path is a wrapper for a path in the OS. Some commonly used functions are wrapped as methods of Path, and results, if any, are converted back to Path
path.go:13
↓ 7 callers
TypeAlias
IntSlice
import "fmt" * IntSlice is a wrapper to a slice of int. You can either create an IntSlice instance directly, or converting the type when necessary.
intslice.go:28
↓ 6 callers
TypeAlias
StringSlice
* StringSlice is a wrapper to a slice of interface{}. You can either create an StringSlice instance directly, or converting the type when necessary.
strslice.go:41
↓ 5 callers
TypeAlias
Slice
* Slice is a wrapper to a slice of interface{}. You can either create a Slice instance directly, or converting the type when necessary. Usage 1:
slice.go:39
↓ 4 callers
TypeAlias
ComplexSlice
import "fmt" ComplexSlice is wrapper to a slice of complex128. See examples of IntSlice for reference.
complexslice.go:8
↓ 4 callers
TypeAlias
FloatSlice
import "fmt" FloatSlice is wrapper to a slice of float64. See examples of IntSlice for reference.
floatslice.go:8
↓ 2 callers
TypeAlias
ByteSlice
Deprecated. Use "github.com/golangplus/bytes".ByteSlice instead. ByteSlice is a wrapper type for []byte. Its pointer form, *ByteSlice, satisfies io.R
byteslice.go:20
↓ 1 callers
FuncType
CmpFunc
CmpFunc is a function comparing two elements. The function returns a positive value if a > b, a negative value if a < b, and 0 otherwise. Sort, Binar
cmp.go:25
↓ 1 callers
FuncType
ComplexCmpFunc
ComplexCmpFunc is a function comparing two complex128 elements. The function returns a positive value if a > b, a negative value if a < b, and 0 other
cmp.go:385
↓ 1 callers
FuncType
FloatCmpFunc
FloatCmpFunc is a function comparing two float elements. The function returns a positive value if a > b, a negative value if a < b, and 0 otherwise.
cmp.go:305
↓ 1 callers
FuncType
IntCmpFunc
IntCmpFunc is a function comparing two int elements. The function returns a positive value if a > b, a negative value if a < b, and 0 otherwise. Sort
cmp.go:225
↓ 1 callers
TypeAlias
IntMatrix
* IntMatrix is 2D array of integers. Elements are store in a single int slice and slices of each row are created. NOTE the matrix can be sized of 0x0
intmat.go:14
↓ 1 callers
FuncType
StrCmpFunc
StrCmpFunc is a function comparing two string elements. The function returns a positive value if a > b, a negative value if a < b, and 0 otherwise. S
cmp.go:111
Struct
A
strslice_test.go:30
Struct
A
slice_test.go:55
Struct
AtomicBox
AtomicBox is a place atomically storing an object(typed interface{})
sync.go:41
Struct
Data
heap/heap_test.go:26
TypeAlias
DataHeap
heap/heap_test.go:53
Struct
Empty
An variable of zero-size bytes
misc.go:14
TypeAlias
IntHeap
heap/heap_test.go:11
Struct
IntPriorityQueue
IntPriorityQueue is an unbounded priority queue based on a priority heap. A compare function, typed IntCmpFunc, needs to be specified. Usage: pq := v
intpq.go:24
Interface
NestedError
* NestedError is an error with current message and nested error. Use NestErrorf to generate a NestedError. It returns a nil for a nil nested error.
misc.go:37
Struct
Once
Once is an object that will perform exactly one action. Different from build-in sync.Once, the function is defined in the Once struct.
sync.go:10
Struct
PriorityQueue
PriorityQueue is an unbounded priority queue based on a priority heap. A compare function, typed CmpFunc, needs to be specified. This struct is a bet
pq.go:26
TypeAlias
Stop
A channel for signaling stop
misc.go:17
TypeAlias
StrSet
StrSet is a set of strings
strset.go:6
FuncType
WalkFunc
WalkFunc is a wrapper to filepath.WalkFunc WalkFunc is the type of the function called for each file or directory visited by Walk. The path argument c
path.go:188
Struct
complexSortList
cmp.go:424
Struct
floatSortList
cmp.go:346
Struct
intSortList
cmp.go:266
Struct
nestedError
misc.go:50
Struct
pqList
pq.go:30
Struct
sortList
cmp.go:71
Struct
strSortList
cmp.go:186