Categorygithub.com/hitokoto-osc/Moe
modulepackage
1.1.3
Repository: https://github.com/hitokoto-osc/moe.git
Documentation: pkg.go.dev

# README

Moe

Moe 是用于替代第一代 Teng-koa 统计服务的 GO 版本实现。

鸣谢

Moe 离不开 萌创团队 以及 一言项目组 的支持,更离不开 JetBrains 为开源项目免费提供具有强生产力的 IDE 等相关授权。

许可证

项目代码遵循 GNU General Public License v3.0 许可。 此外,项目不会通过任何途径 签发授权 商用行为(commercial use)。

开发

现在,让我们简单介绍下怎样参与咱们的开发。

依赖

  • 框架(重要的外部依赖)
    • 配置:viper
    • 日志:zap
    • Web:fiber
    • flag 解析:pflag
    • CI/CD:Github Action(后期前端内容的继承也将通过此服务)

初始开发环境

  1. 自行安装 Go SDK
  2. 克隆项目至 $GOROOT/src/github.com/hitokoto-osc/Moe
  3. 安装 node 依赖。
$ yarn

编译

$ make build

测试

$ make test

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

BuildTag is a commit hash that will be injected in release mode.
BuildTime is a time, when it build, that will be injected in release mode.
CommitTime is a time, when it is committed, that will be injected in release mode.
Version is the version of this program, will be injected in release mode.