tokipana

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 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.

Jump to

Keyboard shortcuts

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