# db-doc-gen æä¹ æ¯æ§çå¨é¡¹ç®ä¸ç´æ¥éè¿IDLæè 类似çæ段ç´æ¥å¯¹æ°æ®åºè¡¨è¿è¡æä½ï¼è¿ä¹æ¯ææ·å¼åæ¶å¸¸éå°çã ä½é¿å ä¸äºå¨é¡¹ç®æ²éæ¶ä¾æ§éè¦å¯¹æ°æ®åºå段è¿è¡è¯´æã æ ç®åç¼åäºä¸ä¸ªéç¨äºMySQL/MariaDBçææ¡£çæã ## TODO - [x] MySQL/MariaDB - [x] ç»æ导åºä¸ºSQL ## HOW TO INSTALL ```shell go install github.com/dextercai/db-doc-gen ``` ## HOW TO USE ``` github.com/dextercai/db-doc-gen (unknown) Usage of db-doc-gen: -database string æ°æ®åºå (default "test") -db-type string æ°æ®åºç±»åï¼mysql (default "mysql") -doc-serve string å¨çº¿ææ¡£æå¡å°å (default ":8080") -doc-type string ææ¡£çæç±»åï¼onlineãoffline (default "online") -host string æ°æ®åºå°å (default "127.0.0.1") -password string æ°æ®åºå¯ç (default "123456") -port int æ°æ®åºç«¯å£ (default 3306) -username string æ°æ®åºç¨æ·å (default "admin") ```