models

package
v3.1.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRepoStats

func CheckRepoStats(ctx context.Context) error

CheckRepoStats checks the repository stats

func DoctorUserStarNum

func DoctorUserStarNum(ctx context.Context) (err error)

DoctorUserStarNum recalculate Stars number for all user

func Init

func Init(ctx context.Context) error

Init initialize model

func StatsCorrectSQL

func StatsCorrectSQL(ctx context.Context, sql any, ids ...any) error

func UpdateRepoStats

func UpdateRepoStats(ctx context.Context, id int64) error

Types

This section is empty.

Source Files

  • repo.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL