Categorygithub.com/gotoolkit/config
modulepackage
1.10.1
Repository: https://github.com/gotoolkit/config.git
Documentation: pkg.go.dev

# README

github.com/gotoolkit/config Go項目參數配置

Install

go get -u github.com/gotoolkit/config

Example

mkdir -p config
echo '{"hello":"world"}' > config/config.json
package main

import (
    "log"

    "github.com/gotoolkit/config"
)

func main() {
    err := config.Setup(config.WithWatchEnable(true))
	if err != nil {
		log.Fatalln(err)
    }
    
    log.Println(config.Get("hello"))
}

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author