counter

package
v0.0.0-...-1fac7cf Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 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