Documentation ¶
Overview ¶
Package encoding provides safe, atomic utility methods for encoding/saving to disk and loading from disk/decoding of data in common formats.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAndUnmarshalProtobuf ¶
LoadAndUnmarshalProtobuf loads data from the specified path and decodes it into the specified Protocol Buffers message.
func LoadAndUnmarshalTOML ¶
LoadAndUnmarshalTOML loads data from the specified path and decodes it into the specified structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.