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:
parent
fbb95920dc
commit
10046f1edb
7 changed files with 1 additions and 162 deletions
|
|
@ -39,10 +39,6 @@ type Signal struct {
|
|||
Type string `db:"type" json:"type"`
|
||||
}
|
||||
|
||||
type _rowWithID struct {
|
||||
ID int32 `db:"id"`
|
||||
}
|
||||
|
||||
func SignalCreateFromPool(ctx context.Context, txn db.Ex, user User, site_id int32, feature_id int32, location types.Location) (modelpublic.Signal, error) {
|
||||
g := location.ToGeom()
|
||||
signal := modelpublic.Signal{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue