Discord: docs: add

This commit is contained in:
mavolin 2020-05-11 03:14:46 +02:00
parent c642c8f306
commit 795182df16
No known key found for this signature in database
GPG Key ID: D8681218EDF216DF
1 changed files with 5 additions and 0 deletions

5
utils/json/option/doc.go Normal file
View 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