alexzorin / authy

Go library and program to access your Authy TOTP secrets.
MIT License
800 stars 57 forks source link

Can't build and run from source. #22

Closed escape0707 closed 2 years ago

escape0707 commented 2 years ago
$ go get github.com/alexzorin/authy/cmd/authy-export
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'.

$ go install github.com/alexzorin/authy/cmd/authy-export@latest
go: downloading github.com/alexzorin/authy v0.3.1
go: downloading github.com/alexzorin/authy/cmd/authy-export v0.0.0-20210420073749-0c25c0dd9ab1
go: github.com/alexzorin/authy/cmd/authy-export@latest (in github.com/alexzorin/authy/cmd/authy-export@v0.0.0-20210420073749-0c25c0dd9ab1):
    The go.mod file for the module providing named packages contains one or
    more replace directives. It must not contain directives that would cause
    it to be interpreted differently than if it were the main module.
alexzorin commented 2 years ago

I updated the README. You might have to use this if the wrong thing is cached:

go install github.com/alexzorin/authy/cmd/authy-export@v0.3.2