gommand

Go one liner program. Similar to python -c

  • Owner: sno6/gommand
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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())'

Main metrics

Overview
Name With Ownersno6/gommand
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-07-24 09:36:49
Pushed At2023-01-29 01:16:44
Last Commit At2023-01-29 14:16:44
Release Count0
用户参与
Stargazers Count162
Watchers Count0
Fork Count13
Commits Count40
Has Issues Enabled
Issues Count3
Issue Open Count0
Pull Requests Count6
Pull Requests Open Count0
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private