Closed rakyll closed 6 years ago
Go provides testable examples. Move the snippets to the godoc examples. In the alpha stage, while the APIs are being broken often, it will help us to keep the examples up to date.
Sounds good to me. /cc @jcd2 @bogdandrutu for input
Having examples always up to date is great. I think this is a good idea.
I need we can keep both. I am suggesting to use a tool like embedmd to generate the README with up-to-date examples that compiles all the time.
Go provides testable examples. Move the snippets to the godoc examples. In the alpha stage, while the APIs are being broken often, it will help us to keep the examples up to date.