Giter VIP home page Giter VIP logo

golang-trains's Introduction

golang-trains

Build Status
Trains, takes a network of nodes and connections and can determine shortest path from A-B. Distance for a specific trip.

TO DO

  • Finish the problem
  • Refactor
  • better ReadMe description
  • Docker file to create a build env
  • cli application go-trains
  • cli args go-trains --help
  • cli args go-trains --file-input inputfile.txt --questions questions-file.txt
  • cli args go-trains --input "AB1,BC3.." --distance A-B
  • cli args go-trains --input "AB1,BC3.." --shortest-trip A-B etc..
  • JUNIT xml parsing of test output
  • travis build (or other build server)
  • script file with run commands run.sh

Refactoring Fixes

  • more refactoring's
  • namespace
  • error tests
  • go lint / go vet fixes
  • more idiomatic golang stuff
  • execute in a goroutine pipeline?

Extra TODO's

  • trains as a web service?

Run tests

go test -v ./trains
goconvey -host 0.0.0.0

golang-trains's People

Contributors

joesustaric avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.