xgen

command
v0.0.0-...-82e7740 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: MIT Imports: 26 Imported by: 0

README

comm-xgen

generate library for Go

Installation

go get gopkg.in/goyy/goyy.v0/comm/xgen

Documentation

Overview

Package xgen implements generate utility functions.

Usage

//go:generate xgen.v0 $GOFILE

// User stores user account information.
// @entity
type User struct {
	table   schema.Table
	id      entity.String `xgen:"column=id&primary=true"`
	email   entity.String `xgen:"column=email"`
	created entity.Time   `xgen:"column=created"`
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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