Skip to content

pingdai/ast2template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ast2template

A Lightweight tools By Golang AST.Now it has supported below:

Usage

This is an executable program,if you want to use it,you need to follow steps:

  1. Download it:
go get -u github.com/pingdai/ast2template

or

git clone https://github.com/pingdai/ast2template.git
  1. Install it:
go install
  1. You maybe get some other packages:
go get -u github.com/spf13/cobra
go get -u github.com/jinzhu/gorm

Quick start

$ ast2template
ast tools

Usage:
  ast2template [command]

Available Commands:
  gen         generators
  help        Help about any command

Flags:
  -h, --help   help for ast2template

Use "ast2template [command] --help" for more information about a command.

See detail useage,click here

The third party relying on package

About

auto generate template from gorm model struct,like select/upadate/insert and so on.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages