mtcmd

package
v0.0.0-...-58cc386 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mtcmd provide support utilities for mechturk commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetString

func GetString(name string, value string, valid ...interface{}) *string

getString chooses a string from the list of valid values, which might be types based on string.

Types

type StringSelection

type StringSelection struct {
	Name  string
	Valid []string
}

func NewStringSelection

func NewStringSelection(name string, valid ...interface{}) StringSelection

func (StringSelection) Select

func (ss StringSelection) Select(value string) *string

Jump to

Keyboard shortcuts

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