上一页 1 2 3 4 5 6 7 ··· 24 下一页
摘要: https://studygolang.com/articles/1113 概述 在 Go 语言中,如果一个结构体和一个嵌入字段同时实现了相同的接口会发生什么呢?我们猜一下,可能有两个问题: 编译器会因为我们同时有两个接口实现而报错吗? 如果编译器接受这样的定义,那么当接口调用时编译器要怎么确定该使 阅读全文
posted @ 2017-11-30 12:10 thrillerz 阅读(1632) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/beyond__devil/article/details/52829241 阅读全文
posted @ 2017-10-12 17:40 thrillerz 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 为什么http协议底层用tcp协议不是udp? https://zhidao.baidu.com/question/150336098.html 抓包工具的原理? http://www.jianshu.com/p/870451cb4eb0 https://baike.baidu.com/item/R 阅读全文
posted @ 2017-09-25 15:48 thrillerz 阅读(124) 评论(0) 推荐(0) 编辑
摘要: mvc 观察者模式 场景:一个事件发生后,要执行一连串更新操作.传统的编程方式,就是在事件的代码之后直接加入处理逻辑,当更新得逻辑增多之后,代码会变得难以维护.这种方式是耦合的,侵入式的,增加新的逻辑需要改变事件主题的代码观察者模式实现了低耦合,非侵入式的通知与更新机制 命令链模式 为处理请求而创建 阅读全文
posted @ 2017-09-25 14:39 thrillerz 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 如何在面试中介绍自己的项目经验 http://www.cnblogs.com/JavaArchitect/p/7586949.html 设计模式 mvc, 单例,工厂 https://www.ibm.com/developerworks/cn/opensource/os-php-designptrn 阅读全文
posted @ 2017-09-25 12:13 thrillerz 阅读(121) 评论(0) 推荐(0) 编辑
摘要: http://studygolang.com/topics/2144 boscoyoung · 2016-11-20 16:41:51 · 792 次点击 · 2分钟之前 开始浏览 http://studygolang.com/topics/2144 这是一个创建于 2016-11-20 16:41 阅读全文
posted @ 2017-08-18 15:56 thrillerz 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 在 golang 中 interface{} 可用于向函数传递任意类型的变量, 但在函数内部使用的话, 该变量的类型就是 interface{}, 也称为空接口类型 比如我们定义一个函数, 输出字符串, 但参数是 interface{} 类型 func echoString(content inte 阅读全文
posted @ 2017-08-09 16:36 thrillerz 阅读(2024) 评论(0) 推荐(0) 编辑
摘要: 面向对象编程 http://www.ituring.com.cn/article/details/1339 time包用法 :https://studygolang.com/articles/4331 阅读全文
posted @ 2017-08-03 00:52 thrillerz 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 安装过程中错误 阅读全文
posted @ 2017-07-12 23:37 thrillerz 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/apanious/article/details/51075899 阅读全文
posted @ 2017-07-12 23:37 thrillerz 阅读(133) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 24 下一页