From 795182df16e8bbc95d5c4429ab10c38e30d87b32 Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Mon, 11 May 2020 03:14:46 +0200 Subject: [PATCH] Discord: docs: add --- utils/json/option/doc.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 utils/json/option/doc.go diff --git a/utils/json/option/doc.go b/utils/json/option/doc.go new file mode 100644 index 0000000..55ed92a --- /dev/null +++ b/utils/json/option/doc.go @@ -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