Each token is chosen such that it is unique in some way. So when the parser reaches a token, it can identify it and note the order in which they occur. This constructs the necessary knowledge we need to parse a real value.
On Fri, Feb 28, 2020 at 10:53 AM Steve Mynott <steve.myn...@gmail.com> wrote: > I was just wondering what was the significance, if any, of the magic > time layout as used by time.Parse()? > > -- > Steve Mynott <steve.myn...@gmail.com> > cv25519/ECF8B611205B447E091246AF959E3D6197190DD5 > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/CANuZA8RVUmbN6aZ256caZjye60ZQLEn-MCjBkio0CEanYSELvQ%40mail.gmail.com > . > -- J. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGrdgiX%3DAoWJwiSnLjsvoSV2tGeATLwdOf72qBHUjFD9gYdkHQ%40mail.gmail.com.