core

package
v0.0.0-...-dc52cdd Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: MIT-0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DYNAMO_STREAM_EVENT_NAME_CREATE string = "INSERT"
View Source
var DYNAMO_STREAM_EVENT_NAME_DELETE string = "REMOVE"
View Source
var DYNAMO_STREAM_EVENT_NAME_UPDATE string = "MODIFY"

Functions

func Chunk

func Chunk(array []interface{}, chunkSize int) [][]interface{}

func GeneratUniqueId

func GeneratUniqueId() string

Generats a usinque ID based timestamp

func Hash

func Hash(s string) uint32

Types

type DynamoRecord

type DynamoRecord struct {
	Code     string `json:"code"`
	ItemType string `json:"itemType"`
}

type ResError

type ResError struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
}

type User

type User struct {
	Sub      string `json:"sub"`
	Email    string `json:"email"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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