Added the License.
This commit is contained in:
4
1.4.md
4
1.4.md
@@ -36,11 +36,11 @@
|
|||||||
|
|
||||||
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
|
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
|
||||||
|
|
||||||
这个时候重启一下Sublime,可以发现在在菜单栏多了一个如下的栏目,说明Package Control已经安装成功了。
|
这个时候重启一下Sublime,可以发现在在菜单栏多了一个如下的栏目,说明Package Control已经安装成功了。
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
2.接下来安装gocode和MarGo
|
2. 接下来安装gocode和MarGo。
|
||||||
打开终端运行如下代码(需要git)
|
打开终端运行如下代码(需要git)
|
||||||
|
|
||||||
go get -u github.com/nsf/gocode
|
go get -u github.com/nsf/gocode
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#《Go Web 编程》
|
#《Go Web 编程》
|
||||||
因为自己对web开发比较感兴趣,所以最近抽空在写一本开源的书籍《Go Web编程》《build web application with golang》。写这本书不表示我能力很强,而是我愿意分享,和大家一起分享Go写web应用的一些东西。
|
因为自己对Web开发比较感兴趣,所以最近抽空在写一本开源的书籍《Go Web编程》《Build Web Application with Golang》。写这本书不表示我能力很强,而是我愿意分享,和大家一起分享Go写Web应用的一些东西。
|
||||||
|
|
||||||
- 对于从php/python/ruby转过来的同学了解go怎么写web应用开发的
|
- 对于从php/python/ruby转过来的同学了解go怎么写web应用开发的
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@
|
|||||||
每个章节建立一个md文件,如第11章的第3节,则建立**11.3.md**。
|
每个章节建立一个md文件,如第11章的第3节,则建立**11.3.md**。
|
||||||
|
|
||||||
## 格式规范
|
## 格式规范
|
||||||
请参看已有章节的规范, 要注意的是, 每个章节在底部都需要有一个links节, 包含"目录", "上一节", "下一节"的链接
|
请参看已有章节的规范,要注意的是,每个章节在底部都需要有一个links节,包含“目录”,“上一节”和“下一节”的链接。
|
||||||
|
|
||||||
##如何编译
|
##如何编译
|
||||||
目前可以把相应的Markdown编译成html文件,执行`go build build.go`,执行生成的文件,就会在底目录下生成相应的html文件
|
目前可以把相应的Markdown编译成html文件,执行`go build build.go`,执行生成的文件,就会在底目录下生成相应的html文件。
|
||||||
|
|
||||||
##致谢
|
##致谢
|
||||||
首先要感谢golang的QQ群102319854,里面的每一个人都很热心,同时要特别感谢几个人
|
首先要感谢golang的QQ群102319854,里面的每一个人都很热心,同时要特别感谢几个人
|
||||||
@@ -27,5 +27,8 @@
|
|||||||
- [BianJiang](https://github.com/border) (编写go开发工具Vim和Emacs的设置)
|
- [BianJiang](https://github.com/border) (编写go开发工具Vim和Emacs的设置)
|
||||||
- [Oling Cat](https://github.com/OlingCat) (review代码)
|
- [Oling Cat](https://github.com/OlingCat) (review代码)
|
||||||
|
|
||||||
|
##授权许可
|
||||||
|
除特别声明外,本书中的内容使用[CC BY-SA 3.0 License](http://creativecommons.org/licenses/by-sa/3.0/)(创作共用 署名-相同方式共享3.0许可协议)授权,代码遵循[BSD 3-Clause License](<LICENSE.md>)(3项条款的BSD许可协议)。
|
||||||
|
|
||||||
##开始阅读
|
##开始阅读
|
||||||
[开始阅读](https://github.com/astaxie/build-web-application-with-golang/blob/master/preface.md)
|
[开始阅读](https://github.com/astaxie/build-web-application-with-golang/blob/master/preface.md)
|
||||||
Reference in New Issue
Block a user