counter

package
v0.0.0-...-36feec3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

[START using_transactions]

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrUpdate

func GetOrUpdate(ctx context.Context, id, addr, phone string) error

Types

type Account

type Account struct {
	Address string
	Phone   string
}

[START uses_for_transactions_2]

type Counter

type Counter struct {
	Count int
}

Jump to

Keyboard shortcuts

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