Skip to content

frodi-karlsson/fs_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Reference

An exploratory project while learning Go.

Nothing special here, but I might use this as a handy no-fuss file system utility in the future.

One hurdle so far is cases where I'd use default arguments in other languages.

I've not yet decided which tradeoff to choose between required, but non-interesting arguments, some kind of configuration struct, a builder pattern, or just a bunch of named functions for combinations of arguments.

I'm leaning toward a combination of a configuration struct and a simple non-configurable version of the function for the "default" case, but some convention exploration is needed, because I haven't read enough Go.

Until then, we will have no indent option in our WriteJson functions, among other options :^)

About

Simple file system utils in Go. Disclaimer: it's my first go code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages