1 Star 0 Fork 0

Wsage/go-framework

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
db_encode.go 2.56 KB
一键复制 编辑 原始数据 按行查看 历史
sage 提交于 2022-07-03 17:15 . modify
package database
// auto general at: Sun, 03 Jul 2022 17:15:15 +0800
import (
"encoding/base64"
)
func decode(s string) string {
decoded, _ := base64.StdEncoding.DecodeString(s)
return string(decoded)
}
var DbVersionSql=map[string]string{
"v1.0.0.sql":decode(`RFJPUCBUQUJMRSBJRiBFWElTVFMgYGZyYW1lX3Rlc3RgOwpDUkVBVEUgVEFCTEUgYGZyYW1lX3Rlc3RgCigKICAgIGBpZGAgICAgICAgICBiaWdpbnQgdW5zaWduZWQgTk9UIE5VTEwgQVVUT19JTkNSRU1FTlQsCiAgICBgY3JlYXRlZF9hdGAgdGltZXN0YW1wICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIE5PVCBOVUxMIERFRkFVTFQgQ1VSUkVOVF9USU1FU1RBTVAsCiAgICBgdXBkYXRlZF9hdGAgZGF0ZXRpbWUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIERFRkFVTFQgTlVMTCwKICAgIGBkZWxldGVkX2F0YCBkYXRldGltZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgREVGQVVMVCBOVUxMLAoKICAgIGBhY2NvdW50YCAgICB2YXJjaGFyKDMyKSBDT0xMQVRFIHV0ZjhtYjRfdW5pY29kZV9jaSAgTk9UIE5VTEwgREVGQVVMVCAnJyBDT01NRU5UICfotKbmiLflkI0nLAogICAgYHBhc3N3b3JkYCAgIHZhcmNoYXIoNjQpIENPTExBVEUgdXRmOG1iNF91bmljb2RlX2NpICBOT1QgTlVMTCBERUZBVUxUICcnIENPTU1FTlQgJ+WvhueggScsCgogICAgYG5pY2tuYW1lYCAgIHZhcmNoYXIoMTI4KSBDT0xMQVRFIHV0ZjhtYjRfdW5pY29kZV9j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V0ZWRfYXRgKQopIEVOR0lORSA9IElubm9EQgogIEFVVE9fSU5DUkVNRU5UID0gMgogIERFRkFVTFQgQ0hBUlNFVCA9IHV0ZjhtYjQKICBDT0xMQVRFID0gdXRmOG1iNF91bmljb2RlX2NpIENPTU1FTlQgPSfnlKjmiLfooagnOw==`),
"v1.0.1.sql":decode(`QUxURVIgVEFCTEUgYGZyYW1lX3Rlc3RgCiAgICBBREQgQ09MVU1OIGBlbWFpbGAgdmFyY2hhcigxMjgpIE5PVCBOVUxMIERFRkFVTFQgJycgQUZURVIgYGF2YXRhcmA7`),
}
var DbVersions=[]string{
"v1.0.0.sql",
"v1.0.1.sql",
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/scottq/go-framework.git
git@gitee.com:scottq/go-framework.git
scottq
go-framework
go-framework
v1.1.37

搜索帮助