module
Version:
v0.0.0-...-7ec19b4
Opens a new window with list of versions in this module.
Published: Oct 1, 2015
License: MIT
Opens a new window with license information.
README
¶
Templates for Gen
This repository contains a set of templates that can be substitute by gen.
command line tool. Presently, it contains the following templates:
Requirments
Installation
$ go get clipperhouse.github.io/gen
$ gen add github.com/svett/gen/stack
Usage
// +gen * stack
type Student struct {
FirstName string
LastName string
BirthDate time.Time
}
stack := &StudentStack{}
stack.Push(&Student{FirstName: "John", LastName: "Smith"})
$ gen
Author
Svett Ralchev - http://blog.ralch.com
Directories
¶
Click to show internal directories.
Click to hide internal directories.