
golang
jeffasd
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
golang 语言学习
http://studygolang.com/resources/cat/3 golang 中文网链接地址:点击打开链接 golang 学习地址: 点击打开链接原创 2017-04-11 13:47:28 · 390 阅读 · 0 评论 -
Go编程——变量、函数导出与首字母大写
http://studygolang.com/articles/4125 标识符可被 导出 以允许从另一个包访问。 同时符合以下条件即为已导出标识 1、标识符名的第一个字符为Unicode大写字母(Unicode类别“Lu”); 2、该标识符在包块中已声明或为字段名或方法名。 以程序导入gotest/even包为例 package main转载 2017-04-11 14:02:36 · 616 阅读 · 0 评论 -
golang 实现 iOS http2 推送 Apns通知
由于要用到viop和远程推送通知 并使用go作为后台语言 就找到了开源的https://github.com/RobotsAndPencils/buford 作为代码使用,但是 发现 这个开源代码在 生产环境下 无法推送消息 一直提示 : the Topic header of the request was not specified and was required 这个错误 这个原创 2017-04-11 14:46:30 · 5097 阅读 · 0 评论 -
iOS消息推送之Voip 消息推送 服务器测试 PhP
http://blog.csdn.net/jiajiayouba/article/details/39926017 一、背景概述: 1,环境配置 APNS:Apple Push Notification Service。本文对推送相关概念不再赘述,只侧重完整流程。 Demo 开发环境:Mac os 10.9.4 ,Xcode 6.0.1 ;测试设备:iphon转载 2017-04-08 17:05:17 · 4591 阅读 · 0 评论 -
go get 请求获取http body
package main import ( "fmt" "io/ioutil" "net/http" "os" ) func main() { arg0 := os.Args[0:] arg1 := os.Args[1:] arg2 := os.Args[2:] fmt.Println(arg0); fmt.Println(arg1); fmt.Print("\n") fm原创 2017-04-13 20:51:34 · 7918 阅读 · 0 评论 -
Sublime Text3 + Golang搭建开发环境
http://studygolang.com/articles/4454 1.安装git 因为golang是通过git来管理远程包的,所以我们首先要安装git,下载地址:http://www.git-scm.com/download/。 git安装比较简单,直接下一步即可(在Windows Explorer integration选项中将“Git Bash her转载 2017-04-21 19:30:30 · 1705 阅读 · 0 评论 -
golang 冒泡排序
package main import ( "fmt" ) func main() { var a = [...]int{9, 1, 4, 8} fmt.Printf("the array len is %v \n", len(a)) // for i := 0; i < len(a); i++ { // for j := i; j < len(a)-1; j++ { //原创 2017-04-21 21:02:06 · 987 阅读 · 0 评论