func (t *Test) Get() error { fmt.Println("Get Begining...") t.Id = 1 err := gsm.Get(t) if err != nil { fmt.Println("ERRORS:", err) return err } t.Putout() return nil }
func (tb *TestB) Get() { tb.Id = 1 gsm.Get(tb) fmt.Println("TestB String:", tb.String) }
func (ta *TestA) Get() { ta.Id = 1 gsm.Get(ta) fmt.Println("TestA String:", ta.String) }