gendao

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 License: MIT Imports: 14 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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