-
Notifications
You must be signed in to change notification settings - Fork 66
Description
Googling a problem I had -- needed an HTTP proxy over SSH I came upon
https://superuser.com/questions/280129/http-proxy-over-ssh-not-socks
'mallory' would seem to be just what I need.
Now I'm a C kernel programmer and have never done anything with Go. But I'm willing to try out Go.
I installed the Go compiler -- But Then What?!?!?
$ git clone git://github.com/justmao945/mallory.git
$ cd mallary
$ go build
go: cannot find main module, but found .git/config in /src/devel/mallory.git
to create a module there, run:
go mod init
$ cd cmd/mallory/
$ go build
go: cannot find main module, but found .git/config in /src/devel/mallory.git
to create a module there, run:
cd ../.. && go mod init
$ go build main.go
main.go:12:2: no required module provides package github.com/justmao945/mallory: go.mod file not found in current directory or any parent directory; see 'go help modules'
main.go:10:2: no required module provides package golang.org/x/net/publicsuffix: go.mod file not found in current directory or any parent directory; see 'go help modules'