package main

import "fmt"

type T struct {
    a int
    b float32
    c string
}

func main() {
	t := &T{ 7, -2.35, "abc\tdef" }
	fmt.Printf("%v\n", t)
}

func (t *T) String() string {
    return fmt.Sprintf("%d / %f / %q", t.a, t.b, t.c)
}
// Output: 7 / -2.350000 / "abc\tdef"
