Skip to content

singhashmeet/StarTrek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Star Trek

Build Status Go Report Card

This application is to translate English names to their Klingon equivalent and also gives the species of the given character(if exists) taking data from http://stapi.co

Caching has been implemented into the system so as to preserver on api calls and a file storage is used. Once a succesful api call is made, it is stored in data.txt and future occurances of the same name are served from cache.

The external library stapi is implemented as an interface and injected into the cache mechanism dynamically. This makes the system future proof in terms of integration of other external libs.

The codex implements a Klingon model which is in form of a lookup table. The Klingon dictionary is stored as a json file in the codex directory.

Installation

  • Download and install GO version 1.12 from here
  • make should run the required test cases and build the binary

Run

./StarTrek Uhura
0xF8E5 0xF8D6 0xF8E5 0xF8E1 0xF8D0
Human

Verbose

Add flag -v to print verbose logging

About

This is a translator for klingon letters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •