+8
-152
appview/db/db.go
+8
-152
appview/db/db.go
······
+158
appview/db/registration.go
+158
appview/db/registration.go
···
+57
appview/db/repos.go
+57
appview/db/repos.go
···+row := d.db.QueryRow(`select did, name, knot, created from repos where did = ? and name = ?`, did, name)+_, err := d.db.Exec(`insert into repos (did, name, knot) values (?, ?, ?)`, repo.Did, repo.Name, repo.Knot)+_, err := d.db.Exec(`delete from repos where did = ? and name = ? and knot = ?`, did, name, knot)
+13
appview/state/state.go
+13
appview/state/state.go
···