// Retrieve Account func GetAccount(name string) Account { b := db.Account{} a := db.Account{} b = a.GetAccount(name) c := Account{} c.Name = b.Name c.Email = b.Email c.Phone = b.Phone c.Type = b.Type c.Password = b.Password c.Date = b.Date return c }