Repository navigation
chore: fix package docs that show the license header or nothing - #2694
Open
badalprasadsingh wants to merge 1 commit into
Open
badalprasadsingh wants to merge 1 commit into
badalprasadsingh wants to merge 1 commit into
Conversation
laskoviymishka
approved these changes
Nov 24, 2026
| // under the License. | ||
|
|
||
| // Package sql implements a catalog that keeps table and view metadata | ||
| // locations in the same database tables as Java's JdbcCatalog. Import it to |
Contributor
There was a problem hiding this comment.
Comment on lines
+20
to
+21
| // register the "sql" catalog type. That type needs the "sql.dialect" property | ||
| // and a "sql.driver" property naming a registered database/sql driver. |
Contributor
There was a problem hiding this comment.
These strings are the exported DialectKey and DriverKey constants, so we could link them and keep the values:
Suggested change
| // register the "sql" catalog type. That type needs the "sql.dialect" property | |
| // and a "sql.driver" property naming a registered database/sql driver. | |
| // register the "sql" catalog type. That type needs the [DialectKey] | |
| // ("sql.dialect") property and a [DriverKey] ("sql.driver") property naming a | |
| // registered database/sql driver. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
go docandpkg.go.devshow the Apache license as the overview oftableandpuffin(tableonpkg.go.devfrom v0.8.0), because the license header touches the package line. nine other public packages have no doc.adding the blank lines, a
doc.gofor ten packages, and staticcheck's ST1000 check, so lint catches both problems.trade-offs: