pkg

module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: MIT

README

pkg

Test license Coverage Build Status Go Report Card

install

go get -u github.com/NingziSlay/pkg

config

TODO: support time.Time

usage:

package main

import (
	"github.com/NingziSlay/pkg"
	"log"
)

type Config struct{}

func main() {
	var c Config
	if err := pkg.MustMapConfig(&c); err != nil {
		log.Fatal(err)
	}
	// use c here
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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