counter

package
Version: v0.0.0-...-9224e62 Latest Latest
Warning

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

Go to latest
Published: May 30, 2017 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
}

Source Files

Jump to

Keyboard shortcuts

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