Skip to content

Instantly share code, notes, and snippets.

@madflojo
Created August 21, 2022 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madflojo/8fed3b2cbd66d61d5a6c1b0bc28038ae to your computer and use it in GitHub Desktop.
Save madflojo/8fed3b2cbd66d61d5a6c1b0bc28038ae to your computer and use it in GitHub Desktop.
Threadsafe Packages Article: New
// New is used to create a new instance of Directory.
func New(name string) (*Directory, error) {
return &Directory{}, nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment