Hi Hay, There's already a tool for formal contracts in Go: https://github.com/Parquery/gocontracts
Cheers Marko Le dim. 28 oct. 2018 à 00:19, hay <habibalyou...@gmail.com> a écrit : > Hello, > > Code contracts are needed for safety critical applications but they would > help other applications too. I hope code contracts support comes to golang. > Also static compile time asserts and conditional checking. > > By code contracts I mean support for pre-conditions, post-conditions, and > invariant and not simply interfaces as contracts. See the following paper: > https://kth.diva-portal.org/smash/get/diva2:958202/FULLTEXT01.pdf > > Best regards > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.