Skip to content

EmilyFOwens/MLBTakehome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

MLB Take Home

Creator: Emily Owens

Run Instructions

To build and execute the program via CLI, first run:

go build main.go

Main has two input flags, -date and -teamId. These are the direct inputs into the sorting function. ex. if you want the results for 11/02/2016, and your favorite team is the Cubs, you would enter:

./main -date="2016-11-02" -teamId=112 

By default the program will write the sorted json to stdout, but if you use the -asFile flag, the sorted json will instead be written to the file schedule.json:

./main -date="2016-11-02" -teamId=112 -asFile

If there are any questions, please feel free to contact me. Thanks!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages