Versions in this module Expand all Collapse all v3 v3.13.1 Sep 21, 2022 Changes in this version + func Delete(path string, options ...Option) error + func Set(path string, val interface{}, options ...Option) error + type Config interface + Delete func(path string, options ...Option) error + Get func(path string, options ...Option) (Value, error) + Set func(path string, val interface{}, options ...Option) error + var DefaultConfig Config + type JSONValue struct + func NewJSONValue(data []byte) *JSONValue + func (j *JSONValue) Bool(def bool) bool + func (j *JSONValue) Bytes() []byte + func (j *JSONValue) Duration(def time.Duration) time.Duration + func (j *JSONValue) Exists() bool + func (j *JSONValue) Float64(def float64) float64 + func (j *JSONValue) Int(def int) int + func (j *JSONValue) Scan(v interface{}) error + func (j *JSONValue) String(def string) string + func (j *JSONValue) StringMap(def map[string]string) map[string]string + func (j *JSONValue) StringSlice(def []string) []string + type JSONValues struct + func NewJSONValues(data []byte) *JSONValues + func (j *JSONValues) Bytes() []byte + func (j *JSONValues) Delete(path string, options ...Option) + func (j *JSONValues) Get(path string, options ...Option) Value + func (j *JSONValues) Map() map[string]interface{} + func (j *JSONValues) Scan(v interface{}) error + func (j *JSONValues) Set(path string, val interface{}, options ...Option) + func (j *JSONValues) String() string + type Option func(o *Options) + func Secret(b bool) Option + type Options struct + Secret bool + type Secrets interface + type Value interface + Bool func(def bool) bool + Bytes func() []byte + Duration func(def time.Duration) time.Duration + Exists func() bool + Float64 func(def float64) float64 + Int func(def int) int + Scan func(val interface{}) error + String func(def string) string + StringMap func(def map[string]string) map[string]string + StringSlice func(def []string) []string + func Get(path string, options ...Option) (Value, error)