command
module
Version:
v0.0.0-...-1678325
Opens a new window with list of versions in this module.
Published: Sep 30, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-genaccessor
Accsessor generator for Go.
Usage
type Foo struct {
key string `getter:"[alias,]..." setter:"[alias,]..."`
}
with go generate
command
//go:generate go-genaccessor
Example
def
./_example/person.go
generated
./_example/example_accessor_gen.go
Installation
$ go get github.com/hori-ryota/go-genaccessor
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
genaccessor is accsessor generator for Go.
|
genaccessor is accsessor generator for Go. |
Click to show internal directories.
Click to hide internal directories.