This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package db | |
import "github.com/go-pg/pg/v10" | |
var db *pg.DB // Nuestra variable global, la cual probablemente inicializamos en el mail.go | |
type Customer struct { | |
ID int | |
Name string | |
LastName string |