go get github.com/adamryman/go-fuck-yourself
// For a more `goofy` command, identical in all but name and print. To show your pg friends.
go get github.com/adamryman/go-fuck-yourself/goofy
// \ʕ◔ϖ◔ʔ/
go-fuck-yourself
is a go
wrapper that will make your code build, forcefully.
$ cat main.go
package main
import "fmt"
// Sad code :(
func main() {
ss.Open()
fmt.Println("What a time to be alive!")
fmt.Printf()
jfa;
what
even
is
this
}
$ go build main.go
# command-line-arguments
./main.go:8: undefined: ss in ss.Open
./main.go:12: not enough arguments in call to fmt.Printf
./main.go:13: undefined: jfa
./main.go:14: undefined: what
./main.go:15: undefined: even
./main.go:16: undefined: is
./main.go:17: undefined: this
$ go-fuck-yourself build main.go
FUCK: `ss.Open()`
FUCK: `fmt.Printf()`
FUCK: `jfa`
FUCK: `what`
FUCK: `even`
FUCK: `is`
FUCK: `this`
You are now a go developer
$ ./main
What a time to be alive!
$ cat main.go
package main
import "fmt"
// Sad code :(
func main() {
fmt.Println("What a time to be alive!")
}
And now, you too, can write go code.
Thanks FuckItJs.
This software is in the public domain.