Table of Contents
I needed to find a perfect, or nearly perfect, day to schedule a dinner with a group of friends and for this I build this tool to find a spot where most of us can partecipate.
The famous nephew Fred attempting to invite Scrooge to dinner with his family.
Budday stands for BUDdies DAY so the day where we celebrate our friendship.
Golang is the way I go for this kind of things :)
Replace the content of input.txt with the list of days in the month:
person1name: 1, 20, 25
person1name: 1, 15, 21, 23, 30
person3name: 4, 28, 30
After you update the input.txt, just run:
go mod tidy
go run main.go
The first list is the parsed input and the second is the preferred day ordered by number of presents with excluded person.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
Schrodinger's Hat Team - @schrodinger_hat
Project Link: https://github.com/Schrodinger-Hat/Fred