btp-saas

command module
v0.0.0-...-aa75ca6 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

README

generate project

mkdir btp-saas && cd btp-saas
goctl api -o btp-saas.api
goctl api go --api btp-saas.api --dir .

generate gorm code using gentool

gentool

# install gentool
go install gorm.io/gen/tools/gentool@latest
# generate models 
gentool -dsn "user:pass@(ip:port)/db?charset=utf8mb4&parseTime=True&loc=Local" -tables "user, order"
gentool -dsn "user:pass@(ip:port)/db?charset=utf8mb4&parseTime=True&loc=Local" -onlyModel -fieldNullable



build linux

set GOARCH=amd64
set GOOS=linux
go build

存在的问题

  1. TON余额不足提醒
  2. 购买成功后给代理结算费用

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
dao
cmd
internal
handler
Code generated by goctl.
Code generated by goctl.
svc
types
Code generated by goctl.
Code generated by goctl.
mq
pkg
id
tg

Jump to

Keyboard shortcuts

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