代码拉取完成,页面将自动刷新
/*
* 纸喵软件
* 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 {}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。