Go to file
haitao(lj) cfaa380c65 chore: add packageManager for corepack 2022-09-28 11:41:00 +08:00
build initial commit 2022-09-27 17:59:05 +08:00
charts initial commit 2022-09-27 17:59:05 +08:00
cmd/answer initial commit 2022-09-27 17:59:05 +08:00
deployments initial commit 2022-09-27 17:59:05 +08:00
docs initial commit 2022-09-27 17:59:05 +08:00
i18n initial commit 2022-09-27 17:59:05 +08:00
internal initial commit 2022-09-27 17:59:05 +08:00
pkg initial commit 2022-09-27 17:59:05 +08:00
script initial commit 2022-09-27 17:59:05 +08:00
ui chore: add packageManager for corepack 2022-09-28 11:41:00 +08:00
web initial commit 2022-09-27 17:59:05 +08:00
.editorconfig initial commit 2022-09-27 17:59:05 +08:00
.gitignore chore: update .gitignore 2022-09-28 10:24:24 +08:00
.gitlab-ci.yml initial commit 2022-09-27 17:59:05 +08:00
Dockerfile initial commit 2022-09-27 17:59:05 +08:00
INSTALL.md initial commit 2022-09-27 17:59:05 +08:00
INSTALL_CN.md initial commit 2022-09-27 17:59:05 +08:00
LICENSE initial commit 2022-09-27 17:59:05 +08:00
Makefile initial commit 2022-09-27 17:59:05 +08:00
README.md initial commit 2022-09-27 17:59:05 +08:00
README_CN.md initial commit 2022-09-27 17:59:05 +08:00
docker-compose.yaml initial commit 2022-09-27 17:59:05 +08:00
go.mod initial commit 2022-09-27 17:59:05 +08:00
go.sum initial commit 2022-09-27 17:59:05 +08:00

README.md

answer

问答社区主项目代码

Dependence

github.com/segmentfault/pacman

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