Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
_example
genaccessor
.gitignore
LICENSE
README.md
main.go

README.md

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
You can’t perform that action at this time.