摘要: 一,go语言数组 1,数组的特点 a. 数组在初始化完成之后,数组的长度是固定的 b. 只存储同一类型的数据 c. 数组中的元素与元素之间的内存空间是连续的 2,数组的定义 var a [5]int 其中a 表示数组的名称,[5]表示数组的长度,int 表示数组中的元素类型 3,数组中元素的访问 使 阅读全文
posted @ 2017-12-14 16:09 niu_x 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 一,go的数据类型和操作符 1,布尔类型 go语言中bool 类型只有两个值:true和false;不像其它语言中0和1 也可以表示布尔类型,这在go语言中是不允许的,另外定义一个bool 类型,默认值为false a. var b bool (默认为false) b. var b bool = t 阅读全文
posted @ 2017-12-08 19:27 niu_x 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 一,第一个go程序,hello world!!! 创建learngo目录,再创建src,最后编写hello.go文件 从第一个go程序中,我们可以初始认识一下go 语言的程序结构 1,package 声明go语言的包, 2,import 导入包 3,func main() {} go语言函数 在go 阅读全文
posted @ 2017-12-04 21:11 niu_x 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Django models操作,Form验证,ajax请求序列化 阅读全文
posted @ 2017-01-20 00:39 niu_x 阅读(1705) 评论(2) 推荐(3) 编辑
摘要: django Form 阅读全文
posted @ 2017-01-19 15:28 niu_x 阅读(296) 评论(0) 推荐(0) 编辑
摘要: django中间件,session,缓存,CSRF,信号 阅读全文
posted @ 2017-01-14 01:05 niu_x 阅读(319) 评论(0) 推荐(0) 编辑
摘要: cookie ajax django请求周期 url路由系统 阅读全文
posted @ 2017-01-06 11:28 niu_x 阅读(310) 评论(1) 推荐(0) 编辑
摘要: django models 阅读全文
posted @ 2016-12-22 21:57 niu_x 阅读(220) 评论(0) 推荐(0) 编辑
摘要: django 知识点 阅读全文
posted @ 2016-12-19 23:55 niu_x 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 前端补充,django基础 阅读全文
posted @ 2016-12-07 19:17 niu_x 阅读(217) 评论(0) 推荐(0) 编辑