raw

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

func NewEncoder

func NewEncoder(wr io.Writer) *Encoder

func (*Encoder) Encode

func (e *Encoder) Encode(v interface{}) error

type Tag

type Tag struct {
	// contains filtered or unexported fields
}

func NewTag

func NewTag() *Tag

func ParseTag

func ParseTag(s string) *Tag

func (*Tag) Get

func (t *Tag) Get(key string) string

func (*Tag) Is

func (t *Tag) Is(key string) bool

func (*Tag) Set

func (t *Tag) Set(key, value string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL