Guest User

Untitled

a guest
Oct 11th, 2020
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. ~/g/s/keystore-client » pwd
  2. /home/claes/go/src/keystore-client
  3. ~/g/s/keystore-client » tree
  4. .
  5. ├── bin
  6. │   └── client
  7. ├── extra
  8. │   ├── config.yml
  9. │   ├── dev_config.yml
  10. │   └── test_config.yml
  11. ├── go.mod
  12. ├── go.sum
  13. ├── Makefile
  14. ├── Readme.md
  15. └── src
  16. ├── client
  17. │   └── main.go
  18. ├── network
  19. │   ├── client.go
  20. │   └── requests.go
  21. ├── secrets
  22. │   ├── config.go
  23. │   └── shortcuts.go
  24. └── ui
  25.  
  26.  
  27. ## main.go
  28. package main
  29.  
  30. import (
  31. "fmt"
  32. log "github.com/sirupsen/logrus"
  33. "keystore-client/src/network"
  34. scrt "keystore-client/src/secrets"
  35. "net/http"
  36. "os"
  37. )
  38. ...
  39.  
  40. ~/g/s/keystore-client » go build -o ./bin/client ./src/client
  41. src/client/main.go:6:2: package keystore-client/src/network is not in GOROOT (/usr/lib/go/src/keystore-client/src/network)
  42. src/client/main.go:7:2: package keystore-client/src/secrets is not in GOROOT (/usr/lib/go/src/keystore-client/src/secrets)
Add Comment
Please, Sign In to add comment