Rewritten in go

This commit is contained in:
MarcUs7i 2025-04-02 08:37:01 +02:00
parent b131756235
commit b17e528180
23 changed files with 989 additions and 18 deletions

12
internal/models/link.go Normal file
View file

@ -0,0 +1,12 @@
package models
import (
"time"
)
type Link struct {
ShortID string `json:"short_id" bson:"short_id"`
TargetURL string `json:"target_url" bson:"target_url"`
AccountID string `json:"account_id" bson:"account_id"`
CreatedAt time.Time `json:"created_at" bson:"created_at"`
}