3 Star 6 Fork 3

纸喵软件 / wechat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 788 Bytes
一键复制 编辑 原始数据 按行查看 历史
倒霉狐狸 提交于 2020-07-25 16:19 . 修改gomodel path
/*
* 纸喵软件
* Copyright (c) 2017~2020 http://zhimiao.org All rights reserved.
* Author: 倒霉狐狸 <mail@xiaoliu.org>
* Date: 2020/3/3 下午4:26
*/
package main
import (
"github.com/zhi-miao/wechat/api"
"github.com/zhi-miao/wechat/common"
"github.com/zhi-miao/wechat/models"
)
// @title 纸喵 wechat API
// @version 1.0
// @description 纸喵软件系列之服务端
// @termsOfService http://zhimiao.org
// @contact.name API Support
// @contact.url http://tools.zhimiao.org
// @contact.email mail@xiaoliu.org
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @host
// @basepath /
func main() {
err := common.Config.Init()
if err != nil {
panic("配置加载失败")
}
models.Start()
go api.Start()
select {}
}
Go
1
https://gitee.com/zhimiao/wechat.git
git@gitee.com:zhimiao/wechat.git
zhimiao
wechat
wechat
master

搜索帮助