Skip to content

Generates a default instance of a type and functions that call methods on it.

Notifications You must be signed in to change notification settings

mpmedia/godefaultinstance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

godefaultinstance

Command godefaultinstance generates at the package level a default instance of a type and functions that call methods on it.

This command is designed to be called with go generate; run godefaultinstance -h for help.

Check out the example at github.com/tcard/godefaultinstance/example.

Install

go get github.com/tcard/godefaultinstance

About

Generates a default instance of a type and functions that call methods on it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%