empty
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package empty defines an empty struct type.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeMessage¶
type Message struct{}Message is an empty message. Its purpose is to be used as pointertype where nil and non-nil distinguish whether it's set. This isused instead of a bool when we want to marshal it as a JSON emptyobject (or null) for the future ability to add other fields, atwhich point callers would define a new struct and not useempty.Message.