You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
go version
go env
when i start golangdoc with:
golangdoc -http=:6060 -lang=zh_CN
it breaked down with error log:
fatal error: concurrent map writes
goroutine 405 [running]:
runtime.throw(0x649f72, 0x15)
/usr/local/go/src/runtime/panic.go:566 +0x95 fp=0xc420565910 sp=0xc4205658f0
runtime.mapassign1(0x597e00, 0xc42015ab40, 0xc420565b18, 0xc420144550)
/usr/local/go/src/runtime/hashmap.go:458 +0x8ef fp=0xc4205659f8 sp=0xc420565910
github.com/golang-china/golangdoc/local.initDocTable(0x7fff5fbff8f4, 0x5, 0xc420144540)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/local/local.go:166 +0xd3 fp=0xc420565ba8 sp=0xc4205659f8
github.com/golang-china/golangdoc/local.RegisterPackage(0x7fff5fbff8f4, 0x5, 0xc420144540)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/local/local.go:63 +0xd5 fp=0xc420565c10 sp=0xc420565ba8
github.com/golang-china/golangdoc/local.(_localTranslater).Package(0x986128, 0x7fff5fbff8f4, 0x5, 0xc420010485, 0xc, 0x0, 0x0, 0x0, 0xc4203e2518)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/local/local_translater.go:48 +0xc4 fp=0xc420565c60 sp=0xc420565c10
github.com/golang-china/golangdoc/local.Package(0x7fff5fbff8f4, 0x5, 0xc420010485, 0xc, 0x0, 0x0, 0x0, 0xc420010280)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/local/local.go:137 +0x1c5 fp=0xc420565cd0 sp=0xc420565c60
main.runGodoc.func1(0xc420010485, 0xc, 0x0, 0x0, 0x0, 0xc4203e25b8, 0x4ee31, 0x11)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/main.go:199 +0xb7 fp=0xc420565d30 sp=0xc420565cd0
github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree(0xc4201465d0, 0xc42014a2c0, 0xc420010480, 0x11, 0xc4200cfc77, 0x7, 0x3, 0x0)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:80 +0x11e fp=0xc420565ed8 sp=0xc420565d30
github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree.func1(0xc420519380, 0xc4201465d0, 0xc42014a2c0, 0xc4205a2660, 0x9, 0x2, 0x947740, 0xc4206a7ad0)
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:100 +0x110 fp=0xc420565f60 sp=0xc420565ed8
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420565f68 sp=0xc420565f60
created by github.com/golang-china/golangdoc/godoc.(_treeBuilder).newDirTree
/Users/zcjl/GoDemo/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:101 +0x64b
The text was updated successfully, but these errors were encountered: