Created
February 20, 2019 23:43
-
-
Save twpayne/09e9135d3f62471ebd7c83359b081e80 to your computer and use it in GitHub Desktop.
github.com/twpayne/go-xdg trivial example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
xdg "github.com/twpayne/go-xdg" | |
) | |
func main() { | |
bds, err := xdg.NewBaseDirectorySpecification() | |
if err != nil { | |
panic(err) | |
} | |
fmt.Printf("%+v\n", bds) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment