this post was submitted on 27 Jun 2023
4 points (83.3% liked)

Go programming language discussion

1382 readers
1 users here now

founded 5 years ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

it's weird that this is such an awesome and unique feature that I've never seen mentioned in any tutorial.

I certainly wonder how many people wrote example documentation while having no idea this feature existed... I know I almost was one of them.

[–] austin 2 points 1 year ago

I agree it’s unique and not really talked about. It kinda reminds me of Elixir’s doctest