gommand

Go one liner program. Similar to python -c

  • 所有者: sno6/gommand
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

gommand

Go one liner program similar to python -c

How can I get it?

go get github.com/sno6/gommand

Examples

Write any Go code in a single line context, gommand will handle your imports and main function for you.

gommand 'fmt.Println("Hello gommand")'

You could also quickly serve your current directory in one line.

gommand 'http.Handle("/", http.FileServer(http.Dir("."))); fmt.Println(http.ListenAndServe(":8080", nil))'

Quickly find the date.

gommand 'fmt.Println(time.Now())'

主要指标

概览
名称与所有者sno6/gommand
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-07-24 09:36:49
推送于2023-01-29 01:16:44
最后一次提交2023-01-29 14:16:44
发布数0
用户参与
星数162
关注者数0
派生数13
提交数40
已启用问题?
问题数3
打开的问题数0
拉请求数6
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?