Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make it works nowadays? #3

Open
squiter opened this issue Apr 27, 2023 · 0 comments
Open

How to make it works nowadays? #3

squiter opened this issue Apr 27, 2023 · 0 comments

Comments

@squiter
Copy link

squiter commented Apr 27, 2023

I'm trying to make it run but the instructions was outdated...

Ξ»:[πŸ“‚ ~/dev/code/whatsapp-iphone-backup] ➑ go get github.com/mattn/go-sqlite3
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

Ξ»:[πŸ“‚ ~/dev/code/whatsapp-iphone-backup] ➑ ls
 dump.go   main.go  ξ˜‰ README.md   utils.go

Ξ»:[πŸ“‚ ~/dev/code/whatsapp-iphone-backup] ➑ go install github.com/mattn/go-sqlite3@latest
go: downloading github.com/mattn/go-sqlite3 v1.14.16
package github.com/mattn/go-sqlite3 is not a main package

Ξ»:[πŸ“‚ ~/dev/code/whatsapp-iphone-backup] ➑ go build -o exporter *.go
main.go:14:2: no required module provides package github.com/mattn/go-sqlite3: go.mod file not found in current directory or any parent directory; see 'go help modules'

Do you know how can I make it works today?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant