While a package with duplicate symbol names won't build, the documentation for these packages are currently rendered on pkg.go.dev, so doc.API may contain more than one symbol with the same name. For the purpose of symbol_history, just use the first symbol name we see.
shouldUpdateSymbolHistory reports whether the row for the given symbolName should be updated. oldHist contains all of the current symbols in the database for the same package and GOOS/GOARCH. shouldUpdateSymbolHistory reports true if the symbolName does not currently exist, or if the newVersion is older than or equal to the current database version.
The pages are generated with Goldsv0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.