Commit Graph

5 Commits (b7372b1f32cd0bb40984debfb049e3fc04efaee4)

Author SHA1 Message Date
ᴜɴᴋɴᴡᴏɴ 3ed8c292c2
migrations: remove old migrations before 0.12.0 () 2020-08-23 12:51:55 +08:00
ᴜɴᴋɴᴡᴏɴ cb439a126a
db: add tests for two factors ()
* Rename to TwoFactors.Create

* Use GORM to execute queries

* TwoFactor.GetByUserID

* Add tests

* Fix failing tests

* Add MD5 tests

* Add tests for RandomChars
2020-04-14 09:41:54 +08:00
ᴜɴᴋɴᴡᴏɴ 5843038a08
workflows: enable golangci-lint ()
* Create golint.yml

* Update golint.yml

* Update golint.yml

* Fix errcheck

* Fix gosimple

* Fix staticcheck
2020-03-21 13:39:32 +08:00
ᴜɴᴋɴᴡᴏɴ 1c09373b4f
log: migrate to unknwon.dev/clog/v2 ()
* Add unknwon.dev/clog/v2

* Update all places
2020-02-20 02:25:02 +08:00
Unknwon 01c8df01ec
internal: move packages under this directory ()
* Rename pkg -> internal

* Rename routes -> route

* Move route -> internal/route

* Rename models -> db

* Move db -> internal/db

* Fix route2 -> route

* Move cmd -> internal/cmd

* Bump version
2019-10-24 01:51:46 -07:00