Skip to content

optim-corp/stream-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stream Generator

Golang generate command ndndnd

Go get

$ go get -u github.com/optim-kazuhiro-seida/stream-generator

Source File (sample)

//go:generate stream-generator -type=Sample
type Sample struct {
	Str string
	Int int
}

Command

$ go generate

Result

You can look source