models

package
v0.0.0-...-04616b7 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonResult

type JsonResult struct {
	Code    int
	Success bool
	Message string
	Data    interface{}
}

func Render

func Render(code int, message string, data interface{}) (result JsonResult)

type Mobile

type Mobile struct {
	Mobile   string
	Province string
	City     string
	Opera    string
	Fullname string
}

func FindLocation

func FindLocation(mobile string) (area Mobile)

Jump to

Keyboard shortcuts

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