golang factory design 引发的一系列思考
发表于
|
分类于
技术周刊
|
阅读次数:
|
字数统计:
1,124
|
阅读时长 ≈
5
工作需要,看了一下golang如何实现工厂模式,遇到一些难以理解的知识点,查资料,写demo验证后,记录下来以供参考
go实现UNIX command
1 | package main |
1 | //执行并测试 |
暂时不支持tab键自动补全命令,只是提供一种简单的思路。
Hello World
发表于
|
阅读次数:
|
字数统计:
78
|
阅读时长 ≈
1
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment