analysis

package
v0.0.0-...-9b06841 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type Languages

type Languages struct {
	DataId      int64        `db:"data_id"`      // Generated Primary Key, Must Not Be Changed
	DeveloperId int64        `db:"developer_id"` // Unique GitHub User ID
	Language    string       `db:"language"`     // Programming Languages Used (JSON Format)
	CreatedAt   time.Time    `db:"created_at"`
	UpdatedAt   time.Time    `db:"updated_at"` // update data time
	DeletedAt   sql.NullTime `db:"deleted_at"`
}

type LanguagesModel

type LanguagesModel interface {
	CreateDataId() (int64, error)
	// contains filtered or unexported methods
}

LanguagesModel is an interface to be customized, add more methods here, and implement the added methods in customLanguagesModel.

func NewLanguagesModel

func NewLanguagesModel(conn sqlx.SqlConn, c cache.CacheConf, DatancenterId, WorkerId int64, opts ...cache.Option) LanguagesModel

NewLanguagesModel returns a model for the database table.

type Nation

type Nation struct {
	DataId      int64        `db:"data_id"`      // Generated Primary Key, Must Not Be Changed
	DeveloperId int64        `db:"developer_id"` // Unique GitHub User ID
	Nation      string       `db:"nation"`       // Nation
	Confidence  float64      `db:"confidence"`   // Confidence
	CreatedAt   time.Time    `db:"created_at"`
	UpdatedAt   time.Time    `db:"updated_at"` // update data time
	DeletedAt   sql.NullTime `db:"deleted_at"`
}

type NationModel

type NationModel interface {
	CreateDataId() (int64, error)
	// contains filtered or unexported methods
}

NationModel is an interface to be customized, add more methods here, and implement the added methods in customNationModel.

func NewNationModel

func NewNationModel(conn sqlx.SqlConn, c cache.CacheConf, DatancenterId, WorkerId int64, opts ...cache.Option) NationModel

NewNationModel returns a model for the database table.

type Score

type Score struct {
	DataId      int64        `db:"data_id"`      // Generated Primary Key, Must Not Be Changed
	DeveloperId int64        `db:"developer_id"` // Unique GitHub User ID
	Score       float64      `db:"score"`        // score
	CreatedAt   time.Time    `db:"created_at"`
	UpdatedAt   time.Time    `db:"updated_at"` // update data time
	DeletedAt   sql.NullTime `db:"deleted_at"`
}

type ScoreModel

type ScoreModel interface {
	CreateDataId() (int64, error)
	// contains filtered or unexported methods
}

ScoreModel is an interface to be customized, add more methods here, and implement the added methods in customScoreModel.

func NewScoreModel

func NewScoreModel(conn sqlx.SqlConn, c cache.CacheConf, DatancenterId, WorkerId int64, opts ...cache.Option) ScoreModel

NewScoreModel returns a model for the database table.

type Summary

type Summary struct {
	DataId      int64        `db:"data_id"`      // Generated Primary Key, Must Not Be Changed
	DeveloperId int64        `db:"developer_id"` // Unique GitHub User ID
	Summary     string       `db:"summary"`      // User Summary
	CreatedAt   time.Time    `db:"created_at"`
	UpdatedAt   time.Time    `db:"updated_at"` // update data time
	DeletedAt   sql.NullTime `db:"deleted_at"`
}

type SummaryModel

type SummaryModel interface {
	CreateDataId() (int64, error)
	// contains filtered or unexported methods
}

SummaryModel is an interface to be customized, add more methods here, and implement the added methods in customSummaryModel.

func NewSummaryModel

func NewSummaryModel(conn sqlx.SqlConn, c cache.CacheConf, DatancenterId, WorkerId int64, opts ...cache.Option) SummaryModel

NewSummaryModel returns a model for the database table.

Jump to

Keyboard shortcuts

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