News for hackers. Stuff that matters.
Re:Show HN: Beehive – An open source IFTTT powered by Go's t... by rashkov on Saturday February 11, 2017 @04:11PM (#13624811)
I think that you're probably looking for a finite state machine. There are a number of libraries for this, so have a look around and pick one that looks good. I haven't used it myself but would love to hear about other people's experiences with them.
Re:Show HN: Beehive – An open source IFTTT powered by Go's t... by no1youknowz on Saturday February 11, 2017 @04:32PM (#13624936)
Thank you for the "finite state machine" mention. I haven't seen this in my research so far. Will be adding this to the list to look up.
Re:Show HN: Beehive – An open source IFTTT powered by Go's t... by pstuart on Saturday February 11, 2017 @10:49PM (#13626591)
Worth perusing this for thoughts about doing an FSM in go: https://talks.golang.org/2011/lex.slide#1