tokipana

package
Version: v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Overview

Package tokipana wraps http://inamidst.com/services/tokipana.

Index

Constants

View Source
const APIURL = `http://inamidst.com/services/tokipana`

The API URL.

Variables

This section is empty.

Functions

func Translate

func Translate(text string) *http.Request

Translate returns a request to translate the given toki pona text into english.

func Validate

func Validate(resp *http.Response) error

Validate checks if a response from the API is valid or not.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL