Sobes.tech
Senior

¿Qué es defer? ¿Qué mostrará el siguiente código? ```go type X struct { V int } func (x X) S() { fmt.Println(x.V) } func main() { x := X{123} defer x.S() x.V = 456 } ```