command

package
v0.0.0-...-792e87b Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

func ParseFilckrPath

func ParseFilckrPath(path string) (string, string, error)

Parse component of a flickr path of the form:

`<username>@flickr:<setId>`

setId can be omitted, like in:

`<username>@flickr:`

an empty setId has different meanings, depending on the context

Types

type ConfigFile

type ConfigFile struct {
	// preserve the same naming of the command line flags inside the config file
	ApiKey           string `json:"api_key"`
	ApiSecret        string `json:"api_secret"`
	OAuthToken       string `json:"oauth_token"`
	OAuthTokenSecret string `json:"oauth_token_secret"`
}

Jump to

Keyboard shortcuts

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