Categorygithub.com/jsmzr/boot-plugin-gorm-mysql
modulepackage
0.1.0
Repository: https://github.com/jsmzr/boot-plugin-gorm-mysql.git
Documentation: pkg.go.dev

# README

boot-plugin-gorm-mysql-gorm-mysql

Build Status codecov

基于 boot 的 gorm mysql 插件

使用方式

  1. 拉取依赖,go get -u github.com/jsmzr/boot-plugin-gorm-mysql
  2. main.go 中导入,import _ "github.com/jsmzr/boot-plugin-gorm-mysql
  3. 通过 import github.com/jsmzr/boot-plugin-gorm-myql/db, 获取创建好的连接

配置

boot:
  gorm:
    enabled: true
    order: 4
    database: demo
    username: mysql_test
    password: demo123321
    host: 127.0.0.1
    port: 3306
    singularTable: true
    noLowerCase: false

# Packages

No description provided by the author

# Functions

在 main.go 中设置.

# Structs

No description provided by the author