github.com/diamondburned/arikawa/v2@v2.1.0/utils/json/option/option.go (about) 1 // Package option provides the ability to create omittable primitives. 2 // This is accomplished by pointerrizing common primitive types so that they may 3 // assume a nil value, which is considered as omitted by encoding/json. 4 // To generate pointerrized primitives, there are helper functions NewT() for 5 // each option type. 6 package option