Failed to go get badger this morning

What version of Go are you using (go version)?

$ go version
:: 1.16

What operating system are you using?

:: Linux Mint


In terminal, execute below command throw error,

go get GitHub - dgraph-io/badger: Fast key-value DB in Go.

see attachmentbadger go get error

Clone the code to local and reproduce again,

I figured out the solution,

  1. Go to local folder, drop folder badger and dgraph-io
  2. In terminal, run command go get
    Then everything is back to normal.

This command in the badger home page is not working go get Above issue is happened after I go get badger again.

1 Like