denisacostaq / glanguage

Translate English to Gophers's language (simple demo)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glanguage

Translate English to Gophers's language (simple demo)

Build Status Coverage Status

CLI Server Documentation

Gopher's language command line interface server documentation.

Documentation

System Requirements

You need to have golang (version >= 1.12) installed on your system. To install go, just follow the official instructions

Install

The instruction for install the server from source is the following:

GO111MODULE=on go get github.com/denisacostaq/glanguage/cmd/glanguage@develop

Usage

Run the server

Start listening in the port 8080 (default).

$GOPATH/bin/glanguage

Examples

Show Help
$GOPATH/bin/glanguage
View Output
NAME:
   glanguage - Translate English to the Gophers's language

USAGE:
   glanguage [global options] command [command options] [arguments...]

AUTHOR:
   Alvaro Denis <denisacostaq@gmail.co>

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --port value, -p value  Listen port [$GLANGUAGE_PORT]
   --help, -h              show help (default: false)
Change Default Port
$GOPATH/bin/glanguage --port 8081
View Output
INFO[0000] Starting server...                            addr=":8081"

About

Translate English to Gophers's language (simple demo)

License:MIT License


Languages

Language:Go 100.0%