码迷,mamicode.com
首页 >  
搜索关键字:golang http_file_server    ( 3916个结果
GoLang获取struct的tag
GoLang获取struct的tag
分类:其他好文   时间:2015-03-12 18:37:15    阅读次数:157
Codis 替换 Redis 集群 解决方案
Codis:Redis集群解决方案Codis由四部分组成:CodisProxy(codis-proxy)CodisManager(codis-config)CodisRedis(codis-server)ZooKeeper1.首先安装go语言需安装1.0以及之前的版本https://code.google.com/p/go/wgethttps://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar...
分类:其他好文   时间:2015-03-12 15:22:10    阅读次数:237
golang处理 json中非法字符
原文:Hi there,I just discovered Go and decided to port a little program to Go.The program reads JSON-Data from an URL and process the Data. The Goport w...
分类:Web程序   时间:2015-03-12 12:50:28    阅读次数:923
for _ golang
for 是 golang 唯一的 looping 结构,package mainimport ( "fmt")func main() { i := 1 for i <= 3 { fmt.Println(i) i += 1 } for j :=...
分类:其他好文   时间:2015-03-11 17:06:17    阅读次数:131
在 go/golang语言中使用 google Protocol Buffer
怎么在go语言中实用google protocol Buffer呢?现在的潮流趋势就是一键搞定,跟ubuntu安装软件一样go get code.google.com/p/goprotobuf/{proto,protoc-gen-go}go install code.google.com/p/gop...
分类:编程语言   时间:2015-03-11 16:40:36    阅读次数:218
variables _ golang
在 golang 中, 变量是通过编译器声明和使用的,并且编译器会进行相应的类型检查package mainimport ( "fmt")func main() { var a string = "initial" fmt.Println(a) var b, c int = ...
分类:其他好文   时间:2015-03-11 14:41:05    阅读次数:135
FlatBuffers使用记录(Golang)
试用了下FlatBuffers,把一些东东记录一下。  FlatBuffers 官网: http://google.github.io/flatbuffers/md__go_usage.html 它支持生成Go语言相关的东西,总的使用步骤如下:    1. 定义IDL 接口定义文件,通常命名为.fbs           参考: Writing a schema       http...
分类:其他好文   时间:2015-03-11 12:55:13    阅读次数:189
在 Golang 中使用 Protobuf
安装 goprotobuf1.从 https://github.com/google/protobuf/releases 获取 Protobuf 编译器 protoc(可下载到 Windows 下的二进制版本wget https://github.com/google/protobuf/releas...
分类:其他好文   时间:2015-03-11 12:27:24    阅读次数:183
[Golang]你处于使用Go语言的哪个层次,来测测吧
??Francesc (@francesc) 是 Go 核心团队的一员, 是提倡 Google Cloud 平台的开发者. 他是一个编程语言的爱好者, Google的技术指导大师, Go tour的创造者之一. 这个讨论的灵感来自于另一个 Raquel Vélez 在 JSConf. Slides 的讨论,这个讨论已经发到了这里. Sourcegraph 是下一代编程协作工具, 用于搜索, 探索,...
分类:编程语言   时间:2015-03-11 10:49:51    阅读次数:406
golang的cgo支持调用C++的方法
1)swift,貌似官网的推荐2)extern "C"我使用后者,用起来比较爽,上代码c.h1 #pragma once2 3 #ifdef __cplusplus4 extern "C" {5 #endif6 void test();7 #ifdef __cplusplus 8 }9 #en...
分类:编程语言   时间:2015-03-11 10:38:42    阅读次数:167
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!