72 Star 907 Fork 298

Kevin2li / PDF-Guru

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
app.go 340 Bytes
一键复制 编辑 原始数据 按行查看 历史
Kevin2li 提交于 2023-07-18 15:06 . refactor
package main
import (
"context"
)
// App struct
type App struct {
ctx context.Context
}
// NewApp creates a new App application struct
func NewApp() *App {
return &App{}
}
// startup is called when the app starts. The context is saved
// so we can call the runtime methods
func (a *App) startup(ctx context.Context) {
a.ctx = ctx
}
Go
1
https://gitee.com/Kevin234/PDF-Guru.git
git@gitee.com:Kevin234/PDF-Guru.git
Kevin234
PDF-Guru
PDF-Guru
main

搜索帮助