The highest tagged major version is
v3 .
Discover Packages
github.com/diamondburned/arikawa/v2
utils
json
enum
package
Version:
v2.0.1
Opens a new window with list of versions in this module.
Published: Jan 25, 2021
License: ISC
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Null is the value used to represent JSON null.
It should never be used as a value, as it won't get serialized as such.
Int8ToJSON converts the passed Enum to a byte slice with it's JSON representation.
Enum is a nullable version of a uint8.
Enum values should only consist of positive values, as negative values are reserved for internal constants, such as
Null.
This also mean that only 7 of the 8 Bit will be available for storage.
Int8FromJSON decodes the Enum stored as JSON src the passed byte slice.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.