Documentation ¶
Overview ¶
Se crea un espacio de nombres llamado myBeego
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
beego.Controller
}
Se genera un tipo Controller que hereda de beego.Controller
func (*Controller) Prepare ¶
func (c *Controller) Prepare()
Se redefine lo que hace la función Prepare * es un apuntador al igual que en C & hace referencia a la dirección de memoria La iniciación de una variable o funcion con * se traduce en que almacena u := 10 //var z *int //z = &u //fmt.Println(z)//0x1040e0f8 var s *string //var r **string = &s //fmt.Println(r)//0x1040a120
Click to show internal directories.
Click to hide internal directories.