Closed quamejnr closed 1 year ago
Hello, please can you share what OS you’re on? On Aug 4, 2023 at 8:49 AM +0100, Kwame Akuamoah-Boateng @.***>, wrote:
Finding it difficult to get this working locally after cloning the directory.
• go build leads to the error runtime.main_main·f: function main is undeclared in the main package • go run cmd/goignore/main.go also leads to the error package command-line-arguments is not a main package
Also, tried getting in one of my projects and after running go get github.com/hacktivist123/goignore, got this error go: @.: parsing go.mod: module declares its path as: goignore but was required as: github.com/hacktivist123/goignore — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>
Hello, there's a new fix, check README for an updated instruction on how to install
Finding it difficult to get this working locally after cloning the directory.
go build
leads to the errorruntime.main_main·f: function main is undeclared in the main package
go run cmd/goignore/main.go
also leads to the errorpackage command-line-arguments is not a main package
Also, tried getting in one of my projects and after running
go get github.com/hacktivist123/goignore
, got this errorgo: github.com/hacktivist123/goignore@v1.0.0: parsing go.mod: module declares its path as: goignore but was required as: github.com/hacktivist123/goignore