https://github.com/sky0621/go-crud
https://github.com/sky0621/go-crud
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sky0621/go-crud
- Owner: sky0621
- Created: 2017-07-18T16:49:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T16:04:46.000Z (almost 9 years ago)
- Last Synced: 2025-12-31T08:29:39.309Z (7 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-crud
### ■ツールの説明
##### プロジェクト毎の使用テーブル一覧を生成
###### ※使用有無はテーブル名で単純に1行ずつスキャンして判定
###### ※対象テーブル名は、設定ファイル記載の接続情報にてMySQLより取得
###### ※「tmpl.md」記載の形式で結果を出力
###### ※プロジェクト内でスキャン対象、及び対象外のファイルをフィルタ可能(「config.toml」にて)
### ■実行方法
##### [前提]
###### ・go version 1.7
###### ・glide インストール済み
###### ・テーブル名取得対象データベースは MySQL
##### 1. glide up を実行
###### ※Mac or Linux環境の場合、下記コマンドでインストール可能
###### curl https://glide.sh/get | sh
###### 参考:「https://github.com/Masterminds/glide」
##### 2. config.toml 内を任意の設定に変更
##### 3. go run main.go を実行