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