Initial open source release
This commit is contained in:
commit
74992e893f
377 changed files with 118084 additions and 0 deletions
10
deploy/deploy.go
Normal file
10
deploy/deploy.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// Package deploy 提供部署期资源(迁移脚本)的嵌入访问。
|
||||
package deploy
|
||||
|
||||
import "embed"
|
||||
|
||||
// Migrations 是嵌入的 golang-migrate 迁移脚本(deploy/migrations/*.sql)。
|
||||
// 供 store/postgres 的迁移 runner 在启动时执行,避免运行时依赖外部文件路径。
|
||||
//
|
||||
//go:embed migrations/*.sql
|
||||
var Migrations embed.FS
|
||||
Loading…
Add table
Add a link
Reference in a new issue