Skip to content

hapoon/gendao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gendao

generate dao code from database

MIT License

gendao is a tool that generate dao(data access object) code from database for Go.

Installation

Make sure that Go is installed on your computer. Type the following command in your terminal:

go get gopkg.in/hapoon/gendao.v1

Requirement

Usage

gendao

-h, -host arg 
    Set host name to access database.
-p, -port arg
    Set port number to access database.
-u, -user arg
    Set user name to access database.
-pass, -password arg
    Set password to access database.
-n, -name arg
    Set database name to access database.
-verbose
    Enable verbose.
-o, -output arg
    Save the generated dao in output. Default is current directory.
-e, -exclude arg
    Exclude files. To specify multiple files, files are separated by comma.

License

MIT License

About

generate dao code from database

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages