function

package module
v0.0.0-...-799ad6b Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 11 Imported by: 0

README

serverless_go_sql

serverless compatible code

WIP

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sqlx.DB

DB is the database reference.

Functions

func TheFunction

func TheFunction(w http.ResponseWriter, r *http.Request)

TheFunction is our main function.

Types

type SomeStruct

type SomeStruct struct {
	ID         string    `db:"id" json:"id"`
	Email      string    `faker:"email" db:"email" json:"email"`
	Name       string    `faker:"first_name" db:"name" json:"name"`
	LastUpdate time.Time `db:"last_update" json:"last_update"`
}

SomeStruct ...

Jump to

Keyboard shortcuts

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