mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-10 13:33:14 +00:00
Discord: docs: add
This commit is contained in:
parent
c642c8f306
commit
795182df16
5
utils/json/option/doc.go
Normal file
5
utils/json/option/doc.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
// 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
|
Loading…
Reference in a new issue