lint: remove unused items from resource, sync, platform, db

- Remove contentUploadList/Placeholder/Detail from resource/upload.go
- Remove toImageURLs, userURI from resource/communication.go
- Remove responseListUser from resource/user.go
- Remove contentSignin/getSignin from sync/signin.go (re-add contentSignin used elsewhere)
- Delete sync/service-request.go (entirely unused)
- Remove _rowWithID from platform/signal.go
- Remove unused tag field from db/tx.go Rows struct
This commit is contained in:
Eli Ribble 2026-05-09 17:19:38 +00:00
parent fbb95920dc
commit 10046f1edb
7 changed files with 1 additions and 162 deletions

View file

@ -71,10 +71,6 @@ func (res *userR) response(u *platform.User) (*user, error) {
type userR struct {
router *router
}
type responseListUser struct {
Users []*platform.User `json:"users"`
}
func (res *userR) ByIDGet(ctx context.Context, r *http.Request, user platform.User, query QueryParams) (*platform.User, *nhttp.ErrorWithStatus) {
vars := mux.Vars(r)
user_id_str := vars["id"]