Sorrow446 / LivePhish-Downloader

LivePhish downloader written in Go.
19 stars 2 forks source link

Include instructions on how to build #4

Open lieberk2-hd opened 1 year ago

lieberk2-hd commented 1 year ago

Please include instructions to build and run from source code. Simply doing: go run main.go

gave me several errors like: main.go:47:11: undefined: WriteCounter main.go:151:19: undefined: Config main.go:186:21: undefined: Config

so I assume whatever prerequisites I need are not installed on my machine.

lieberk2-hd commented 1 year ago

and to answer my own question: Assuming Go is installed already

run: go build edit config.json to put in your personal details ./main magic ensues ;-)

Sorrow446 commented 1 year ago

Need to include the structs file. go build main.go structs.go