go-genaccessor

command module
v0.0.0-...-b0af978 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 8 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
genaccessor is accsessor generator for Go.
genaccessor is accsessor generator for Go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL