Commit Graph

11 Commits

Author SHA1 Message Date
Athurg Gooth
ddf4cae537
feat: disable CGO_ENABLED (#1766)
* Replace mattn/go-sqlite3 with modernc.org/sqlite

* Disable CGO to make binary work without special c lib

* Replace mattn/go-sqlite3 with modernc.org/sqlite in testing code

* Tidy go module

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2023-05-29 13:29:42 +08:00
boojack
ea728d232d
refactor: memo store (#1741) 2023-05-25 21:50:37 +08:00
boojack
2cc5691efd
chore: update memo relation types (#1658) 2023-05-14 23:17:05 +08:00
boojack
5c5199920e
chore: seed data for new user (#1655) 2023-05-13 22:25:15 +08:00
CorrectRoadH
700fe6b0e4
fix: return pinned status after edit (#1629)
* stash

* query pinned status after patch

* eslint

* refactor query

* eslint

* process specify case

* add test

* Update memo.go
2023-05-09 09:03:09 +08:00
boojack
b6564bcd77
feat: implement memo relation server (#1618) 2023-05-01 16:09:41 +08:00
boojack
fab8a71fd2
feat: implement memo relation store (#1598)
* feat: implement memo relation store

* chore: update
2023-04-25 23:27:38 +08:00
boojack
994d5dd891
feat: server tests (#1556)
* feat: server tests

* chore: update
2023-04-17 21:34:59 +08:00
CorrectRoadH
630d84348e
feat: add resource backend unit test (#1521)
* add resource unit test

* add more resource unit test

* change variable name

* add more test cases

* delete unnecessary line

* eslint

* add more asset
2023-04-13 19:55:18 +08:00
boojack
c9a5df81ce
chore: update store tests (#1449) 2023-04-03 09:53:36 +08:00
boojack
0baf6b0e19
feat: add test for user store (#1438) 2023-04-01 22:47:19 +08:00