getset

command
v0.0.0-...-93bbb14 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2015 License: GPL-3.0 Imports: 15 Imported by: 0

README

#getset

Author: mparaiso mparaiso@online.fr

Year: 2015

license: GPL-3

GetSet generates getters and setters for your structs. With getset , go developers no longer need to write their getters and setters by hand. getset is written in go

###installation :

go get github.com/interactiv/cli-tools/getset

###usage:

within a package directory

$ getset

####options:

  • -dir="": package directory.defaults to working directory
  • -file=false: write to file, true of false, false by default, if false then will write to the standard out stdout.
  • -type="": type from which getters and setters will be generated, declare multiple types by separating them with a comma, for instance: -type=Foo,Bar,Baz

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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