Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJsonNoHtmlEscape ¶
Types ¶
type StringMapping ¶
type StringMapping[T comparable] struct { ToValue map[string]T ToString map[T]string }
func NewStringMapping ¶
func NewStringMapping[T comparable](mapping map[T]string) *StringMapping[T]
Click to show internal directories.
Click to hide internal directories.