Documentation ¶ Index ¶ type Codec func (Codec) Decode(b []byte, v map[string]interface{}) error func (Codec) Encode(v map[string]interface{}) ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Codec ¶ type Codec struct{} Codec implements the encoding.Encoder and encoding.Decoder interfaces for encoding data containing environment variables (commonly called as dotenv format). func (Codec) Decode ¶ func (Codec) Decode(b []byte, v map[string]interface{}) error func (Codec) Encode ¶ func (Codec) Encode(v map[string]interface{}) ([]byte, error) Source Files ¶ View all Source files codec.go map_utils.go Click to show internal directories. Click to hide internal directories.