1package models23import (4 "database/sql"5 "time"6)78// Repo is a database model for a repository.9type Repo struct {10 ID int64 `db:"id"`11 Name string `db:"name"`12 ProjectName string `db:"project_name"`13 Description string `db:"description"`14 Private bool `db:"private"`15 Mirror bool `db:"mirror"`16 Hidden bool `db:"hidden"`17 UserID sql.NullInt64 `db:"user_id"`18 CreatedAt time.Time `db:"created_at"`19 UpdatedAt time.Time `db:"updated_at"`20}