directory
0.0.151
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Packages

go-atomicvalue Generates Go code using a package as a generic template for atomic.Value.
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.
Code generated for package main by go-bindata DO NOT EDIT.
go-nulljson Generates Go code using a package as a generic template that implements database/sql.Scanner and database/sql/driver.Valuer.
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 Generates Go code using a package as a generic template that implements sqlx.
go-syncmap Generates Go code using a package as a generic template for sync.Map.
go-syncpool Generates Go code using a package as a generic template for sync.Pool.
go-validator Generates Go code using a package as a generic template that implements validator.
protoc-gen-go-tag is a plugin for the Google protocol buffer compiler to Generate Go code.