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
用户参与
星數163
關注者數0
派生數13
提交數40
已啟用問題?
問題數3
打開的問題數0
拉請求數6
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?