Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
container/hashring
Package hashring provides a consistent hashing function.
|
Package hashring provides a consistent hashing function. |
container/slice
A sequence of elements supporting sequential and parallel aggregate operations.
|
A sequence of elements supporting sequential and parallel aggregate operations. |
container/stack
stack is a [stack](http://en.wikipedia.org/wiki/Stack_(abstract_data_type%29) is a last-in last-out data structure.
|
stack is a [stack](http://en.wikipedia.org/wiki/Stack_(abstract_data_type%29) is a last-in last-out data structure. |
container/stream
A sequence of elements supporting sequential and parallel aggregate operations.
|
A sequence of elements supporting sequential and parallel aggregate operations. |
container/traversal
https://en.wikipedia.org/wiki/Breadth-first_search https://en.wikipedia.org/wiki/Depth-first_search https://en.wikipedia.org/wiki/Tree_traversal#In-order_(LNR) https://en.wikipedia.org/wiki/Tree_traversal#Out-order_(RNL) https://en.wikipedia.org/wiki/Tree_traversal#Post-order_(LRN) https://en.wikipedia.org/wiki/Tree_traversal#Post-order_(LRN)
|
https://en.wikipedia.org/wiki/Breadth-first_search https://en.wikipedia.org/wiki/Depth-first_search https://en.wikipedia.org/wiki/Tree_traversal#In-order_(LNR) https://en.wikipedia.org/wiki/Tree_traversal#Out-order_(RNL) https://en.wikipedia.org/wiki/Tree_traversal#Post-order_(LRN) https://en.wikipedia.org/wiki/Tree_traversal#Post-order_(LRN) |
container/trie_tree/ternary_search_tree
https://en.wikipedia.org/wiki/Ternary_search_tree In computer science, a ternary search tree is a type of trie (sometimes called a prefix tree) where nodes are arranged in a manner similar to a binary search tree, but with up to three children rather than the binary tree's limit of two.
|
https://en.wikipedia.org/wiki/Ternary_search_tree In computer science, a ternary search tree is a type of trie (sometimes called a prefix tree) where nodes are arranged in a manner similar to a binary search tree, but with up to three children rather than the binary tree's limit of two. |
crypto/auth
https://www.oauth.com/oauth2-servers/client-registration/client-id-secret/ https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
|
https://www.oauth.com/oauth2-servers/client-registration/client-id-secret/ https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml |
crypto/rand
package rand_ Creating Random Strings in Go
|
package rand_ Creating Random Strings in Go |
math/rand
Package rand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source.
|
Package rand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source. |
net/ice
https://tools.ietf.org/html/rfc7064 https://tools.ietf.org/html/rfc7064 3.2.
|
https://tools.ietf.org/html/rfc7064 https://tools.ietf.org/html/rfc7064 3.2. |
net/mux
Package mux is a library to multiplex network connections based on their payload.
|
Package mux is a library to multiplex network connections based on their payload. |
net/resolver/unix
Package unix implements a resolver for unix targets.
|
Package unix implements a resolver for unix targets. |
os/signal/cgo
Package cgo contains runtime support for code generated by the cgo tool.
|
Package cgo contains runtime support for code generated by the cgo tool. |
pragma
Package pragma provides types that can be embedded into a struct to statically enforce or prevent certain language properties.
|
Package pragma provides types that can be embedded into a struct to statically enforce or prevent certain language properties. |
runtime/cgosymbolizer
Package cgosymbolizer contains runtime support for code generated by the cgo tool.
|
Package cgosymbolizer contains runtime support for code generated by the cgo tool. |
sync/leaderelection
Package leaderelection implements leader election of a set of endpoints.
|
Package leaderelection implements leader election of a set of endpoints. |
testing/leakcheck
Package leakcheck contains functions to check leaked goroutines.
|
Package leakcheck contains functions to check leaked goroutines. |
time/rate
Package rate The key observation and some code (shr) is borrowed from time/rate/rate.go
|
Package rate The key observation and some code (shr) is borrowed from time/rate/rate.go |
util/function/consumer
A sequence of elements supporting sequential and parallel aggregate operations.
|
A sequence of elements supporting sequential and parallel aggregate operations. |
util/object
object consists of {@code static} utility methods for operating on objects, or checking certain conditions before operation.
|
object consists of {@code static} utility methods for operating on objects, or checking certain conditions before operation. |
util/object/internal/preconditions
Utility methods to check if state or arguments are correct.
|
Utility methods to check if state or arguments are correct. |
util/spliterator
A sequence of elements supporting sequential and parallel aggregate operations.
|
A sequence of elements supporting sequential and parallel aggregate operations. |
x/resilience
Package resilience provides helpers for dealing with resilience.
|
Package resilience provides helpers for dealing with resilience. |
instrumentation/otel
Module
|
|
webserver
Module
|
|
github.com/golang/go
Module
|
|
github.com/golang/protobuf
Module
|
|
github.com/spf13/pflag
Module
|
|
github.com/syndtr/goleveldb
Module
|
|
gocloud.dev
Module
|
|
google.golang.org/grpc
Module
|
|
google.golang.org/protobuf
Module
|
|
thirdparty
|
|
github.com/golang/protobuf
Module
|
|
github.com/sirupsen/logrus
Module
|
|
google.golang.org/grpc
Module
|
|
cmd
Deprecated: Use github.com/searKing/golang/tools/ instead.
|
Deprecated: Use github.com/searKing/golang/tools/ instead. |
cmd/go-atomicvalue
go-atomicvalue Generates Go code using a package as a generic template for atomic.Value.
|
go-atomicvalue Generates Go code using a package as a generic template for atomic.Value. |
cmd/go-enum
go-enum is a tool to automate the creation of methods that satisfy such interfaces: fmt ==> fmt.Stringer binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON text ==> encoding.TextMarshaler and encoding.TextUnmarshaler sql ==> database/sql.Scanner and database/sql/driver.Valuer yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler Given the name of a (signed or unsigned) integer type T that has constants defined, stringer will create a new self-contained Go source file implementing fmt ==> fmt.Stringer func (t T) String() string binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler func (t T) MarshalBinary() (data []byte, err error) func (t *T) UnmarshalBinary(data []byte) error json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON func (t T) MarshalJSON() ([]byte, error) func (t *T) UnmarshalJSON(data []byte) error text ==> encoding.TextMarshaler and encoding.TextUnmarshaler func (t T) MarshalText() ([]byte, error) func (t *T) UnmarshalText(text []byte) error sql ==> database/sql.Scanner and database/sql/driver.Valuer func (t T) Value() (driver.Value, error) func (t *T) Scan(value interface{}) error yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler func (t T) MarshalYAML() (interface{}, error) func (t *T) UnmarshalYAML(unmarshal func(interface{}) error) error The file is created in the same package and directory as the package that defines T. It has helpful defaults designed for use with go generate.
|
go-enum is a tool to automate the creation of methods that satisfy such interfaces: fmt ==> fmt.Stringer binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON text ==> encoding.TextMarshaler and encoding.TextUnmarshaler sql ==> database/sql.Scanner and database/sql/driver.Valuer yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler Given the name of a (signed or unsigned) integer type T that has constants defined, stringer will create a new self-contained Go source file implementing fmt ==> fmt.Stringer func (t T) String() string binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler func (t T) MarshalBinary() (data []byte, err error) func (t *T) UnmarshalBinary(data []byte) error json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON func (t T) MarshalJSON() ([]byte, error) func (t *T) UnmarshalJSON(data []byte) error text ==> encoding.TextMarshaler and encoding.TextUnmarshaler func (t T) MarshalText() ([]byte, error) func (t *T) UnmarshalText(text []byte) error sql ==> database/sql.Scanner and database/sql/driver.Valuer func (t T) Value() (driver.Value, error) func (t *T) Scan(value interface{}) error yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler func (t T) MarshalYAML() (interface{}, error) func (t *T) UnmarshalYAML(unmarshal func(interface{}) error) error The file is created in the same package and directory as the package that defines T. It has helpful defaults designed for use with go generate. |
cmd/go-import
go-import Performs auto import of non go files.
|
go-import Performs auto import of non go files. |
cmd/go-nulljson
go-nulljson Generates Go code using a package as a generic template that implements database/sql.Scanner and database/sql/driver.Valuer.
|
go-nulljson Generates Go code using a package as a generic template that implements database/sql.Scanner and database/sql/driver.Valuer. |
cmd/go-option
Typically this process would be run using go generate, like this: //go:generate go-option -type=Pill With no arguments, it processes the package in the current directory.
|
Typically this process would be run using go generate, like this: //go:generate go-option -type=Pill With no arguments, it processes the package in the current directory. |
cmd/go-sqlx
go-sqlx Generates Go code using a package as a generic template that implements sqlx.
|
go-sqlx Generates Go code using a package as a generic template that implements sqlx. |
cmd/go-syncmap
go-syncmap Generates Go code using a package as a generic template for sync.Map.
|
go-syncmap Generates Go code using a package as a generic template for sync.Map. |
cmd/go-syncpool
go-syncpool Generates Go code using a package as a generic template for sync.Pool.
|
go-syncpool Generates Go code using a package as a generic template for sync.Pool. |
cmd/go-validator
go-validator Generates Go code using a package as a generic template that implements validator.
|
go-validator Generates Go code using a package as a generic template that implements validator. |
cmd/protoc-gen-go-tag
protoc-gen-go-tag is a plugin for the Google protocol buffer compiler to Generate Go code.
|
protoc-gen-go-tag is a plugin for the Google protocol buffer compiler to Generate Go code. |
cmd/protoc-gen-go-tag/ast
This code is borrowed from https://github.com/golang/protobuf/blob/master/protoc-gen-go/generator/generator.go
|
This code is borrowed from https://github.com/golang/protobuf/blob/master/protoc-gen-go/generator/generator.go |
go-atomicvalue
go-atomicvalue Generates Go code using a package as a generic template for atomic.Value.
|
go-atomicvalue Generates Go code using a package as a generic template for atomic.Value. |
go-enum
go-enum is a tool to automate the creation of methods that satisfy such interfaces: fmt ==> fmt.Stringer binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON text ==> encoding.TextMarshaler and encoding.TextUnmarshaler sql ==> database/sql.Scanner and database/sql/driver.Valuer yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler Given the name of a (signed or unsigned) integer type T that has constants defined, stringer will create a new self-contained Go source file implementing fmt ==> fmt.Stringer func (t T) String() string binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler func (t T) MarshalBinary() (data []byte, err error) func (t *T) UnmarshalBinary(data []byte) error json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON func (t T) MarshalJSON() ([]byte, error) func (t *T) UnmarshalJSON(data []byte) error text ==> encoding.TextMarshaler and encoding.TextUnmarshaler func (t T) MarshalText() ([]byte, error) func (t *T) UnmarshalText(text []byte) error sql ==> database/sql.Scanner and database/sql/driver.Valuer func (t T) Value() (driver.Value, error) func (t *T) Scan(value interface{}) error yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler func (t T) MarshalYAML() (interface{}, error) func (t *T) UnmarshalYAML(unmarshal func(interface{}) error) error The file is created in the same package and directory as the package that defines T. It has helpful defaults designed for use with go generate.
|
go-enum is a tool to automate the creation of methods that satisfy such interfaces: fmt ==> fmt.Stringer binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON text ==> encoding.TextMarshaler and encoding.TextUnmarshaler sql ==> database/sql.Scanner and database/sql/driver.Valuer yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler Given the name of a (signed or unsigned) integer type T that has constants defined, stringer will create a new self-contained Go source file implementing fmt ==> fmt.Stringer func (t T) String() string binary ==> encoding.BinaryMarshaler and encoding.BinaryUnmarshaler func (t T) MarshalBinary() (data []byte, err error) func (t *T) UnmarshalBinary(data []byte) error json ==> encoding/json.MarshalJSON and encoding/json.UnmarshalJSON func (t T) MarshalJSON() ([]byte, error) func (t *T) UnmarshalJSON(data []byte) error text ==> encoding.TextMarshaler and encoding.TextUnmarshaler func (t T) MarshalText() ([]byte, error) func (t *T) UnmarshalText(text []byte) error sql ==> database/sql.Scanner and database/sql/driver.Valuer func (t T) Value() (driver.Value, error) func (t *T) Scan(value interface{}) error yaml ==> gopkg.in/yaml.v3:yaml.Marshaler and gopkg.in/yaml.v3:yaml.Unmarshaler func (t T) MarshalYAML() (interface{}, error) func (t *T) UnmarshalYAML(unmarshal func(interface{}) error) error The file is created in the same package and directory as the package that defines T. It has helpful defaults designed for use with go generate. |
go-import
go-import Performs auto import of non go files.
|
go-import Performs auto import of non go files. |
go-nulljson
go-nulljson Generates Go code using a package as a generic template that implements database/sql.Scanner and database/sql/driver.Valuer.
|
go-nulljson Generates Go code using a package as a generic template that implements database/sql.Scanner and database/sql/driver.Valuer. |
go-option
Typically this process would be run using go generate, like this: //go:generate go-option -type=Pill With no arguments, it processes the package in the current directory.
|
Typically this process would be run using go generate, like this: //go:generate go-option -type=Pill With no arguments, it processes the package in the current directory. |
go-sqlx
go-sqlx Generates Go code using a package as a generic template that implements sqlx.
|
go-sqlx Generates Go code using a package as a generic template that implements sqlx. |
go-syncmap
go-syncmap Generates Go code using a package as a generic template for sync.Map.
|
go-syncmap Generates Go code using a package as a generic template for sync.Map. |
go-syncpool
go-syncpool Generates Go code using a package as a generic template for sync.Pool.
|
go-syncpool Generates Go code using a package as a generic template for sync.Pool. |
go-validator
go-validator Generates Go code using a package as a generic template that implements validator.
|
go-validator Generates Go code using a package as a generic template that implements validator. |
protoc-gen-go-tag
protoc-gen-go-tag is a plugin for the Google protocol buffer compiler to Generate Go code.
|
protoc-gen-go-tag is a plugin for the Google protocol buffer compiler to Generate Go code. |
protoc-gen-go-tag/ast
This code is borrowed from https://github.com/golang/protobuf/blob/master/protoc-gen-go/generator/generator.go
|
This code is borrowed from https://github.com/golang/protobuf/blob/master/protoc-gen-go/generator/generator.go |
common
Module
|
Click to show internal directories.
Click to hide internal directories.