Skip to content

Instantly share code, notes, and snippets.

@knakayama
Created November 23, 2015 02:38
Show Gist options
  • Save knakayama/0152d1b083fca4921c97 to your computer and use it in GitHub Desktop.
Save knakayama/0152d1b083fca4921c97 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"runtime"
"github.com/caarlos0/gohome"
)
const appName = "myapp"
func main() {
config := gohome.Config(appName)
cache := gohome.Cache(appName)
fmt.Println(config)
fmt.Println(cache)
fmt.Println(runtime.GOOS)
fmt.Println(runtime.GOARCH)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment