okrun alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view okrun alternatives based on common mentions on social networks and blogs.
-
xlsx
Library to simplify reading the XML format used by recent version of Microsoft Excel in Go programs. -
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report. -
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, chunk, reverse, ...) -
mc
Minio Client provides minimal tools to work with Amazon S3 compatible cloud storage and filesystems. -
mergo
A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements. -
beaver
Beaver is a real-time messaging server. With beaver you can easily build scalable in-app notifications, realtime graphs, multiplayer games, chat applications, geotracking and more in web applications and mobile apps. -
httpcontrol
Package httpcontrol allows for HTTP transport level control around timeouts and retries.
Get performance insights in less than 4 minutes
Do you think we are missing an alternative of okrun or a related project?
Popular Comparisons
README
OK Run (golang)
ok, run your gofile. run your gofile when go run
would not.
Features
okrun
will automatically fix the following error(s):
- imported and not used - when your gofile contains an imported package that is not used,
okrun
will comment out the offending import line.
Setup
// get okrun
go get github.com/xta/okrun
// install okrun
cd $GOPATH && go install github.com/xta/okrun/
Usage
okrun path/to/your/file.go
By using okrun
, your file.go
will attempt to run when go run
would otherwise refuse.
Example
With file example.go:
package main
import (
"fmt"
"log"
)
func main() {
fmt.Println("hi")
}
go run
will not run example.go:
go run example.go
# command-line-arguments
example.go:5: imported and not used: "log"
okrun
will run example.go:
okrun example.go
hi
okrun
will update your gofile & properly format it. after running okrun
, example.go is now:
package main
import (
"fmt"
// "log"
)
func main() {
fmt.Println("hi")
}
About
by Rex Feng 2014
License
MIT
*Note that all licence references and agreements mentioned in the okrun README section above
are relevant to that project's source code only.