a5gfields

package
v0.0.0-...-35a760b Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(k string, v []byte) *kvField

func Duration

func Duration(k string, v time.Duration) *kvField

func EmptyInterface

func EmptyInterface(k string, v interface{}) *kvField

func Float64

func Float64(k string, v float64) *kvField

func Int

func Int(k string, v int) *kvField

func Int64

func Int64(k string, v int64) *kvField

func New

func New(k string, v fmt.Stringer) *kvField

func String

func String(k string, v string) *kvField

Types

type Field

type Field interface {
	Key() string
	Value() string
}

Jump to

Keyboard shortcuts

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