myBeego

package
v0.0.0-...-b53b00e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2017 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL