golang-china / golangdoc.translations Goto Github PK
View Code? Open in Web Editor NEWGo语言文档翻译文件(项目已经不再维护了, 建议不要在折腾godoc了, 学习新东西吧)
Home Page: https://golang-china.appspot.com/
License: Other
Go语言文档翻译文件(项目已经不再维护了, 建议不要在折腾godoc了, 学习新东西吧)
Home Page: https://golang-china.appspot.com/
License: Other
过程如下:
首先按照说明成功的执行了go get github.com/golang-china/golangdoc,生成了golangdoc可执行文件,
然后下载golangdoc.translations:
goroutine 782 [runnable]:
github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree.func1(0xc0424a40c0, 0xc04202fed0, 0xc042031b00, 0xc04255ec00, 0x11, 0x2, 0xe1f5c0, 0xc042664060)
D:/Go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98
created by github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree
D:/Go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98 +0x61d
goroutine 783 [runnable]:
github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree.func1(0xc0424a4120, 0xc04202fed0, 0xc042031b00, 0xc04255ec00, 0x11, 0x2, 0xe1f5c0, 0xc042664180)
D:/Go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98
created by github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree
D:/Go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98 +0x61d
goroutine 784 [runnable]:
github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree.func1(0xc0424a4180, 0xc04202fed0, 0xc042031b00, 0xc04255ec00, 0x11, 0x2, 0xe1f5c0, 0xc0426641e0)
D:/Go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98
created by github.com/golang-china/golangdoc/godoc.(*treeBuilder).newDirTree
D:/Go/src/github.com/golang-china/golangdoc/godoc/dirtrees.go:98 +0x61d
。。。。。。
http://127.0.0.1:6060/doc无法访问
2. 如果将下载的文件放到$GOPATH下,产生如下错误信息:
2018/03/29 09:45:04 readTemplate: template: godoc.html:82: function "srcBreadcrumb" not defined
http://127.0.0.1:6060/doc还是无法访问
请帮忙解答一下,谢谢
Go1.5 可能不支持 导入 main 包, GAE 版本 依赖这个特性.
目标: 让 golang-china 成为Go 包中文翻译文档 github 中心.
这需要考虑目录规划, 问题比较复杂, 这里先罗列一下已知的事实和问题.
期望讨论出简单的翻译文档目录规划方式.
有三种显示模式:
用一个浮动的切换按钮控制。
系统版本: Mac OS Yosemite/ Version 10.10.5 go语言版本: go version go1.5.1 darwin/amd64 sope:translations goyoo$ golangdoc -http=:6060 -lang=zh_CN 2015/09/30 11:49:52 readTemplate: template: package.html:281: function "multiply" not defined
中文的逗号和句号之后没有空格, 对很多需要断行的程序不友好.
建议统一用半角符号+空格表示.
转换由工具完成.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.