Skip to content

How to make it works nowadays?Β #3

@squiter

Description

@squiter

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions