1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-19 16:40:29 +00:00
arikawa/utils/json/option/doc.go
2020-05-11 03:14:46 +02:00

6 lines
335 B
Go

// Package option provides the ability to create omittable primitives.
// This is accomplished by pointerrizing common primitive types so that they may assume a nil value, which is considered
// as omitted by encoding/json.
// To generate pointerrized primitives, there are helper functions `NewT` for each option type.
package option