data

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertMembre

func InsertMembre(membre *Membre) (error, uint)

func InsertMembres

func InsertMembres(membres []*Membre, batch_size int) error

func MigrateDatabase

func MigrateDatabase() error

func OpenDatabase

func OpenDatabase() error

Types

type Membre

type Membre struct {
	gorm.Model
	NumEtud string `mapper:"num_etud" json:"num_etud"`
	Nom     string `mapper:"-" json:"-"`
}

func ReadMembre

func ReadMembre(num_etud string) (Membre, error)

Jump to

Keyboard shortcuts

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