另客网go项目公用的代码库

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Gopkg.toml example
  2. #
  3. # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
  4. # for detailed Gopkg.toml documentation.
  5. #
  6. # required = ["github.com/user/thing/cmd/thing"]
  7. # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
  8. #
  9. # [[constraint]]
  10. # name = "github.com/user/project"
  11. # version = "1.0.0"
  12. #
  13. # [[constraint]]
  14. # name = "github.com/user/project2"
  15. # branch = "dev"
  16. # source = "github.com/myfork/project2"
  17. #
  18. # [[override]]
  19. # name = "github.com/x/y"
  20. # version = "2.4.0"
  21. #
  22. # [prune]
  23. # non-go = false
  24. # go-tests = true
  25. # unused-packages = true
  26. [[constraint]]
  27. name = "github.com/gin-gonic/gin"
  28. branch = "master"
  29. [prune]
  30. go-tests = true
  31. unused-packages = true
  32. [[constraint]]
  33. name = "github.com/gin-contrib/cors"
  34. version = "1.2.0"