Skip to content

snwfdhmp/decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decode

Go Report Card Documentation cover.run

Install

Install with go get github.com/snwfdhmp/decode.

Import with

import "github.com/snwfdhmp/decode"

Usage

Decode YAML

var data interface{}
err := decode.YAML("config.yml", &data)

or decode JSON

var data interface{}
err := decode.JSON("config.json", &data)

Documentation

Complete documentation can be found on godoc

Contributors

Releases

No releases published

Packages

No packages published