golang Note 起步
🕞 Tue, 23 Oct 2018 by GolangNote
这是一个用Go 编写的,数据库由SSDB 驱动,轻量级的博客程序,性能超赞!
写这go blog 程序作为学习go 的入门作业,从此开启个人边用边学,边学边用的golang 之路。
package main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}
联系: golangnote ( at ) gmail.com
实例运行
22:22:06.756266 Starting Goji on [::]:8000
22:22:14.772153 [-000001] Started GET "/" from 127.0.0.1:50821
22:22:14.775072 [-000001] Returning 200 in 2.876873ms
22:22:32.876193 [-000002] Started GET "/topic/1.html" from 127.0.0.1:51475
22:22:32.877913 [-000002] Returning 200 in 1.692703ms
22:22:36.737112 [-000004] Started GET "/" from 127.0.0.1:51629
22:22:36.740945 [-000004] Returning 200 in 3.805899ms
22:22:38.932546 [-000005] Started GET "/" from 127.0.0.1:51716
22:22:38.933814 [-000005] Returning 200 in 1.233359ms
22:22:43.121149 [-000007] Started GET "/topic/1.html" from 127.0.0.1:51862
22:22:43.122586 [-000007] Returning 200 in 1.413646ms
22:22:59.418817 [-000008] Started GET "/topic/1.html" from 127.0.0.1:52509
22:22:59.420201 [-000008] Returning 200 in 1.364403ms
22:23:02.772191 [-000009] Started GET "/tag/ssdb" from 127.0.0.1:52642
22:23:02.773833 [-000009] Returning 200 in 1.619439ms
22:23:06.790202 [-000010] Started GET "/topic/1.html" from 127.0.0.1:52771
22:23:06.791528 [-000010] Returning 200 in 1.307455ms
本文网址: https://golangnote.com/topic/1.html (转载注明出处)
关于GolangNote:记录在工作中使用golang 遇到、面临的相关问题及解决方法。如果你在这里获得一些知识或信息,解决你的编程问题,请考虑捐赠给不幸的人或者你喜欢的慈善机构,除捐赠外,种植树木、志愿服务或减少排碳的行为也很有益处。如果你有任何问题可以在下面 留言
Be the first to comment!
Relative Articles
Recent Go Articles
- Golang 把cookie 字符串解析为cookie 结构
- Golang 计算字符串中包含某个或某些字符集的个数
- 使用Golang 对文件增删写读操作备忘
- Go Modules 使用备忘
- 使用Golang 简单删除图片exif 信息
- 谷歌翻译的 golang 库推荐
- Go 1.13.2 与1.13.3 紧急更新
- golang 人脸检测识别库
- Go build 错误 “stackcheck redeclared in this block previous declaration”的解决方法
- Golang phantomjs 动态代理实现
- Golang chrome debug protocol 库推荐
- Golang 随机打乱数组/Slice
- Golang sync.WaitGroup 的 Wait 超时处理
- Golang实现简单的Socks5代理
- Golang 用snappy + Base64 简单压缩加密进行网络传输
- Golang http IPv4/IPv6 服务
- golang 全角半角相互转换
- 在自己的网站部署TLS 1.3
- Golang 实现/打印菜单树
- Golang telegram 机器人小试
Top Go Articles
- 用golang 标准库regexp 验证用户名和密码的合法性
- Golang http IPv4/IPv6 服务
- mismatched types time.Duration and int
- golang 用gzip 压缩、解压缩字符串
- golang 简单全局计数器实现
- Golang sync.WaitGroup 的 Wait 超时处理
- Golang telegram 机器人小试
- Golang 并发控制的两种模式
- go 获取硬盘的可用空间的方法
- iris websocket 自定义信息结构
- golang map 按value 大小排序,降序和升序
- Golang Leveldb 基本使用的例子
- go post 上传文件的例子
- golang 生成良好的唯一ID/uuid库比较
- golang 获取用户真实访问ip 地址
- Golang webview 做桌面应用及跨平台编译
- Golang http.Post 用最小的内存发送大文件
- golang image 智能合并图片
- Golang string 和byte 操作性能比较
- golang 使用crypto/rand 生成随机数