Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 534 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 534 Bytes

sqlxx

a tool to generate mybatis common code.

go install and run sqlxx

Usage:
  -db string
    	db conn str: e.g. user:password@tcp(127.0.0.1:3306) (default "")
  -schema string
    	selected schema: e.g. test (default "test")
  -table string
    	selected table: e.g. test
  -pkg string
    	base package name: e.g. com.houzhicheng, and then
	    	model package: com.houzhicheng.domain.model,
	    	mapper package: com.houzhicheng.infra.persistence.sql.mapper,
	    	repo package: com.houzhicheng.domain.repo