Sobes.tech

Golang

¿Por qué parte del negocio era responsable su equipo? ¿De qué era responsable?

127

paquete principal import ( "fmt" ) tipo Foo interfaz { Foo() } tipo Bar struct { Mensaje string } func (b Bar) Foo() { fmt.Println(b.Mensaje) } func main() { var b *Bar var f Foo f = b if f != nil { f.Foo() } }

127
/2