Permalink
Browse files

move sources to pkg

  • Loading branch information...
kamilsk committed Jan 4, 2019
1 parent 22a9d2e commit feaa65dc5a4662979342660b729927dfe7c9eef3
Showing with 31,006 additions and 16,012 deletions.
  1. +78 โˆ’37 Gopkg.lock
  2. +26 โˆ’1 Gopkg.toml
  3. +15 โˆ’5 Makefile
  4. +3 โˆ’3 cmd/migrate.go
  5. +20 โˆ’12 cmd/run.go
  6. +0 โˆ’240 dao/mock_db_test.go
  7. +0 โˆ’240 dao/postgres/mock_db_test.go
  8. +0 โˆ’3 dao/storage_test.go
  9. 0 {makes โ†’ env/makefiles}/README.md
  10. 0 {makes โ†’ env/makefiles}/docker.mk
  11. 0 {makes โ†’ env/makefiles}/docker/alpine.mk
  12. 0 {makes โ†’ env/makefiles}/docker/base.mk
  13. 0 {makes โ†’ env/makefiles}/docker/clean.mk
  14. 0 {makes โ†’ env/makefiles}/docker/experimental-tools.mk
  15. 0 {makes โ†’ env/makefiles}/docker/hugo.mk
  16. 0 {makes โ†’ env/makefiles}/docker/tools.mk
  17. 0 {makes โ†’ env/makefiles}/env.mk
  18. 0 {makes โ†’ env/makefiles}/local.mk
  19. +1 โˆ’1 main.go
  20. +74 โˆ’0 pkg/config/config.go
  21. +54 โˆ’0 pkg/config/config_test.go
  22. +35 โˆ’0 pkg/config/fixtures/config.yml
  23. +1 โˆ’0 pkg/config/fixtures/dump.json.golden
  24. +30 โˆ’0 pkg/config/fixtures/dump.yml.golden
  25. +3 โˆ’0 pkg/dao/dep.go
  26. 0 { โ†’ pkg}/dao/driver/api.go
  27. 0 { โ†’ pkg}/dao/driver/mongo/.gitkeep
  28. 0 { โ†’ pkg}/dao/driver/mysql/.gitkeep
  29. 0 { โ†’ pkg}/dao/driver/postgres/.gitkeep
  30. +2 โˆ’2 { โ†’ pkg}/dao/postgres/postgres.go
  31. +2 โˆ’4 { โ†’ pkg}/dao/postgres/postgres_test.go
  32. +2 โˆ’4 { โ†’ pkg}/dao/storage.go
  33. +1 โˆ’0 pkg/dao/storage_test.go
  34. 0 { โ†’ pkg}/domain/fingerprint.go
  35. 0 { โ†’ pkg}/domain/uuid.go
  36. +1 โˆ’1 { โ†’ pkg}/domain/uuid_test.go
  37. 0 { โ†’ pkg}/errors/constants.go
  38. 0 { โ†’ pkg}/errors/constructors.go
  39. 0 { โ†’ pkg}/errors/error.go
  40. +1 โˆ’2 { โ†’ pkg}/errors/pkg_test.go
  41. +1 โˆ’2 { โ†’ pkg}/errors/wrapper.go
  42. +1 โˆ’1 { โ†’ pkg}/errors/wrapper_test.go
  43. +1 โˆ’1 { โ†’ pkg}/server/contract.go
  44. +2 โˆ’2 { โ†’ pkg}/server/mock_contract_test.go
  45. +1 โˆ’1 { โ†’ pkg}/server/router/chi/router.go
  46. 0 { โ†’ pkg}/server/router/contract.go
  47. +3 โˆ’3 { โ†’ pkg}/server/server.go
  48. +3 โˆ’0 pkg/server/server_test.go
  49. +1 โˆ’1 { โ†’ pkg}/service/contract.go
  50. +2 โˆ’2 { โ†’ pkg}/service/mock_contract_test.go
  51. +3 โˆ’3 { โ†’ pkg}/service/service.go
  52. +3 โˆ’0 pkg/service/service_test.go
  53. +34 โˆ’11 { โ†’ pkg}/static/bindata.go
  54. +5 โˆ’3 { โ†’ pkg}/static/bindata_test.go
  55. +35 โˆ’0 pkg/static/migrations/1_prepare.sql
  56. +2 โˆ’3 static/migrations/1_initial.sql โ†’ pkg/static/migrations/2_domain.sql
  57. 0 { โ†’ pkg}/static/scripts/passport.min.js
  58. +1 โˆ’1 { โ†’ pkg}/transfer/api/v1/tracker/fingerprint.go
  59. 0 { โ†’ pkg}/transfer/api/v1/tracker/instruction.go
  60. +0 โˆ’10,364 public/js/jquery.js
  61. +0 โˆ’2 public/js/jquery.min.js
  62. +2 โˆ’4 public/js/passport.js
  63. +0 โˆ’3 server/server_test.go
  64. +0 โˆ’3 service/service_test.go
  65. +24 โˆ’1 vendor/{golang.org/x/net โ†’ github.com/ghodss/yaml}/LICENSE
  66. +501 โˆ’0 vendor/github.com/ghodss/yaml/fields.go
  67. +305 โˆ’0 vendor/github.com/ghodss/yaml/yaml.go
  68. +14 โˆ’0 vendor/github.com/ghodss/yaml/yaml_go110.go
  69. +6 โˆ’14 vendor/github.com/golang/mock/gomock/call.go
  70. +83 โˆ’36 vendor/github.com/golang/mock/gomock/controller.go
  71. +26 โˆ’9 vendor/github.com/golang/mock/gomock/matchers.go
  72. +454 โˆ’0 vendor/github.com/golang/mock/mockgen/model/model.go
  73. +21 โˆ’0 vendor/github.com/kamilsk/click/LICENSE
  74. +82 โˆ’0 vendor/github.com/kamilsk/click/pkg/config/config.go
  75. +7 โˆ’0 vendor/github.com/mailru/easyjson/LICENSE
  76. +270 โˆ’0 vendor/github.com/mailru/easyjson/buffer/pool.go
  77. +515 โˆ’0 vendor/github.com/mailru/easyjson/gen/decoder.go
  78. +399 โˆ’0 vendor/github.com/mailru/easyjson/gen/encoder.go
  79. +533 โˆ’0 vendor/github.com/mailru/easyjson/gen/generator.go
  80. +78 โˆ’0 vendor/github.com/mailru/easyjson/helpers.go
  81. +24 โˆ’0 vendor/github.com/mailru/easyjson/jlexer/bytestostr.go
  82. +13 โˆ’0 vendor/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go
  83. +15 โˆ’0 vendor/github.com/mailru/easyjson/jlexer/error.go
  84. +1,181 โˆ’0 vendor/github.com/mailru/easyjson/jlexer/lexer.go
  85. +390 โˆ’0 vendor/github.com/mailru/easyjson/jwriter/writer.go
  86. +45 โˆ’0 vendor/github.com/mailru/easyjson/raw.go
  87. +1 โˆ’1 vendor/github.com/pkg/errors/errors.go
  88. +2 โˆ’2 vendor/github.com/prometheus/client_golang/prometheus/desc.go
  89. +3 โˆ’3 vendor/github.com/prometheus/client_golang/prometheus/doc.go
  90. +10 โˆ’4 vendor/github.com/prometheus/client_golang/prometheus/registry.go
  91. +7 โˆ’4 vendor/github.com/prometheus/client_golang/prometheus/timer.go
  92. +9 โˆ’3 vendor/github.com/prometheus/common/expfmt/text_create.go
  93. +3 โˆ’3 vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg/autoneg.go
  94. +9 โˆ’9 vendor/github.com/prometheus/procfs/xfs/parse.go
  95. +4 โˆ’4 vendor/github.com/rubenv/sql-migrate/migrate.go
  96. +3 โˆ’2 vendor/github.com/spf13/afero/copyOnWriteFs.go
  97. +1 โˆ’1 vendor/github.com/spf13/cobra/bash_completions.go
  98. +70 โˆ’27 vendor/github.com/spf13/viper/viper.go
  99. +0 โˆ’3 vendor/golang.org/x/net/AUTHORS
  100. +0 โˆ’3 vendor/golang.org/x/net/CONTRIBUTORS
  101. +0 โˆ’22 vendor/golang.org/x/net/PATENTS
  102. +0 โˆ’56 vendor/golang.org/x/net/context/context.go
  103. +0 โˆ’72 vendor/golang.org/x/net/context/go17.go
  104. +0 โˆ’20 vendor/golang.org/x/net/context/go19.go
  105. +0 โˆ’300 vendor/golang.org/x/net/context/pre_go17.go
  106. +0 โˆ’109 vendor/golang.org/x/net/context/pre_go19.go
  107. +29 โˆ’0 vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s
  108. +61 โˆ’0 vendor/golang.org/x/sys/unix/mkasm_darwin.go
  109. +11 โˆ’3 vendor/golang.org/x/sys/unix/mkpost.go
  110. +398 โˆ’0 vendor/golang.org/x/sys/unix/mksyscall.go
  111. +190 โˆ’0 vendor/golang.org/x/sys/unix/mksysnum.go
  112. +19 โˆ’6 vendor/golang.org/x/sys/unix/sockcmsg_unix.go
  113. +8 โˆ’8 vendor/golang.org/x/sys/unix/syscall_aix.go
  114. +25 โˆ’37 vendor/golang.org/x/sys/unix/syscall_darwin.go
  115. +9 โˆ’14 vendor/golang.org/x/sys/unix/syscall_darwin_386.go
  116. +9 โˆ’14 vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
  117. +12 โˆ’14 vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
  118. +12 โˆ’14 vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
  119. +31 โˆ’0 vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go
  120. +7 โˆ’0 vendor/golang.org/x/sys/unix/syscall_dragonfly.go
  121. +7 โˆ’0 vendor/golang.org/x/sys/unix/syscall_freebsd.go
  122. +52 โˆ’0 vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go
  123. +85 โˆ’9 vendor/golang.org/x/sys/unix/syscall_linux.go
  124. +16 โˆ’2 vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
  125. +8 โˆ’0 vendor/golang.org/x/sys/unix/syscall_linux_arm.go
  126. +8 โˆ’1 vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
  127. +15 โˆ’0 vendor/golang.org/x/sys/unix/syscall_netbsd.go
  128. +7 โˆ’0 vendor/golang.org/x/sys/unix/syscall_openbsd.go
  129. +7 โˆ’0 vendor/golang.org/x/sys/unix/syscall_solaris.go
  130. +0 โˆ’15 vendor/golang.org/x/sys/unix/syscall_unix.go
  131. +2 โˆ’0 vendor/golang.org/x/sys/unix/types_netbsd.go
  132. +1,794 โˆ’0 vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go
  133. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_386.go
  134. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
  135. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
  136. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
  137. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
  138. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
  139. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
  140. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
  141. +53 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
  142. +53 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
  143. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
  144. +51 โˆ’2 vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
  145. +2,435 โˆ’1,776 vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
  146. +1,810 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go
  147. +955 โˆ’219 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
  148. +284 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s
  149. +1,810 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go
  150. +955 โˆ’219 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
  151. +284 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
  152. +1,793 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go
  153. +933 โˆ’219 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
  154. +282 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s
  155. +1,793 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go
  156. +933 โˆ’219 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
  157. +282 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
  158. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
  159. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
  160. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
  161. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
  162. +2,015 โˆ’0 vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go
  163. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
  164. +2 โˆ’17 vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
  165. +11 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
  166. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
  167. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
  168. +16 โˆ’16 vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
  169. +16 โˆ’16 vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
  170. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
  171. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
  172. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
  173. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
  174. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
  175. +188 โˆ’16 vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
  176. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
  177. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
  178. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
  179. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
  180. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
  181. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
  182. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
  183. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
  184. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
  185. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
  186. +88 โˆ’88 vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
  187. +226 โˆ’226 vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
  188. +226 โˆ’226 vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
  189. +226 โˆ’226 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
  190. +395 โˆ’0 vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go
  191. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
  192. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
  193. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
  194. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
  195. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
  196. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
  197. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
  198. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
  199. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
  200. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
  201. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
  202. +1 โˆ’1 vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
  203. +4 โˆ’2 vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
  204. +2 โˆ’2 vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
  205. +2 โˆ’2 vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
  206. +2 โˆ’2 vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
  207. +108 โˆ’108 vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
  208. +108 โˆ’108 vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
  209. +108 โˆ’108 vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
  210. +1 โˆ’1 vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
  211. +1 โˆ’1 vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
  212. +1 โˆ’1 vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
  213. +602 โˆ’0 vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
  214. +6 โˆ’8 vendor/golang.org/x/sys/unix/ztypes_linux_386.go
  215. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
  216. +7 โˆ’8 vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
  217. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
  218. +6 โˆ’6 vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
  219. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
  220. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
  221. +6 โˆ’6 vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
  222. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
  223. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
  224. +5 โˆ’16 vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
  225. +6 โˆ’20 vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
  226. +1,391 โˆ’98 vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
  227. +7 โˆ’0 vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
  228. +7 โˆ’0 vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
  229. +7 โˆ’0 vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
  230. +55 โˆ’47 vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
  231. +28 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/LICENSE
  232. +24 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/argument.go
  233. +78 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/driver.go
  234. +353 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/expectations.go
  235. +52 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/expectations_before_go18.go
  236. +66 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/expectations_go18.go
  237. +39 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/result.go
  238. +157 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/rows.go
  239. +20 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/rows_go18.go
  240. +542 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/sqlmock.go
  241. +101 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/sqlmock_go18.go
  242. +28 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/statement.go
  243. +13 โˆ’0 vendor/gopkg.in/DATA-DOG/go-sqlmock.v1/util.go
  244. +18 โˆ’20 vendor/gopkg.in/gorp.v1/gorp.go
  245. +28 โˆ’0 vendor/gopkg.in/yaml.v2/encode.go

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,8 +1,21 @@
required = [
"github.com/kamilsk/go-kit/pkg/config",
# generated content
"github.com/golang/mock/gomock",
"github.com/golang/mock/mockgen/model",
"github.com/mailru/easyjson/gen",
"github.com/mailru/easyjson/jlexer",
"github.com/mailru/easyjson/jwriter",

# future deps
"github.com/ghodss/yaml",
"github.com/prometheus/client_golang/prometheus/promhttp",
"gopkg.in/DATA-DOG/go-sqlmock.v1",
]

[[constraint]]
name = "github.com/ghodss/yaml"
branch = "master"

[[constraint]]
name = "github.com/go-chi/chi"
version = "^3.3.0"
@@ -19,6 +32,10 @@ required = [
name = "github.com/lib/pq"
branch = "master"

[[constraint]]
name = "github.com/mailru/easyjson"
branch = "master"

[[constraint]]
name = "github.com/pkg/errors"
branch = "master"
@@ -43,6 +60,14 @@ required = [
name = "github.com/stretchr/testify"
version = "^1.2.0"

[[constraint]]
name = "gopkg.in/DATA-DOG/go-sqlmock.v1"
version = "^1.3.0"

[[override]]
name = "gopkg.in/yaml.v2"
version = "v2"

[prune]
go-tests = true
non-go = true
@@ -1,10 +1,11 @@
OPEN_BROWSER =
SUPPORTED_VERSIONS = 1.9 1.10 latest
SUPPORTED_VERSIONS = 1.9 1.10 1.11 latest


include makes/env.mk
include makes/docker.mk
include makes/local.mk
include env/.env.example
include env/makefiles/env.mk
include env/makefiles/docker.mk
include env/makefiles/local.mk
include env/cmd.mk
include env/docker.mk
include env/docker-compose.mk
@@ -24,6 +25,15 @@ code-quality-check: docker-tool-gometalinter
code-quality-report:
time make code-quality-check | tail +7 | tee report.out

.PHONY: goimports-check
goimports-check:
@(goimports -d ./cmd/ ./pkg/ \
| grep '.go$$' \
| grep -v mock_ \
| grep -v _easyjson \
| grep -v bindata \
| awk '{print $$4}')


.PHONY: dev
dev: up stop-server stop-service clear status dev-server
dev: up stop-server stop-service clear status demo dev-server
@@ -6,9 +6,9 @@ import (
"strconv"
"strings"

"github.com/kamilsk/passport/dao"
"github.com/kamilsk/passport/static"
"github.com/rubenv/sql-migrate"
"github.com/kamilsk/passport/pkg/dao"
"github.com/kamilsk/passport/pkg/static"
migrate "github.com/rubenv/sql-migrate"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Oops, something went wrong.

0 comments on commit feaa65d

Please sign in to comment.