Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#272·gods

Adopt '_test' package idiom

Author: jdimariaCreated Dec 3, 2024Updated Dec 3, 2024

Thankfully, most if not all of the tests already are written against the API rather than against unexported fields or methods This should be a relatively small change that further reinforces this black box approach See: https://pkg.go.dev/cmd/go@master#hdr-Test_packages

Source: emirpasic/gods

View original on GitHubView discussion on GitHub