@@ -32,7 +32,6 @@ func (d *Database) CreateClient(client *models.Client) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetClientByID récupère un client par son ID
|
||||
func (d *Database) GetClientByID(id int) (*models.Client, error) {
|
||||
var row struct {
|
||||
ID int `gorm:"column:id"`
|
||||
|
||||
Reference in New Issue
Block a user