a95bb8cdaea4457a06372d995aff7eccc19f899d
answer
问答社区主项目代码
Dependence
github.com/segmentfault/pacman
- config-file
viperhttps://github.com/spf13/viper - web
ginhttps://gin-gonic.com/zh-cn/ - log
zaphttps://github.com/uber-go/zap - orm
xormhttps://xorm.io/zh/ - redis
go-redishttps://github.com/go-redis/redis
module
- email github.com/jordan-wright/email
- session github.com/gin-contrib/sessions
- Captcha github.com/mojocn/base64Captcha
Run
cd cmd
export GOPRIVATE=git.backyard.segmentfault.com
go mod tidy
./dev.sh
pprof
# Installation dependency
go get -u github.com/google/pprof
brew install graphviz
pprof -http :8082 http://XXX/debug/pprof/profile\?seconds\=10
Description
A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.|GitHub 镜像 ⭐ 15.7k · 🍴 1.4k
https://github.com/apache/answer
Readme
18 MiB
Languages
Go
60.2%
TypeScript
36.3%
HTML
1.5%
SCSS
1.2%
JavaScript
0.5%
Other
0.1%