Preparing report...

Report for github.com/akito0107/xsqlparser

A    Great!    Found 24 issues across 48 files

Tweet

gofmt83%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo85%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • xsqlparser/parser.go
    • Line 2176: warning: cyclomatic complexity 41 of function (*Parser).parsePrefix() is high (> 15) (gocyclo)
    • Line 172: warning: cyclomatic complexity 34 of function (*Parser).ParseDataType() is high (> 15) (gocyclo)
    • Line 1965: warning: cyclomatic complexity 29 of function (*Parser).parseInfix() is high (> 15) (gocyclo)
    • Line 885: warning: cyclomatic complexity 21 of function (*Parser).parseColumnConstraints() is high (> 15) (gocyclo)
    • Line 2937: warning: cyclomatic complexity 21 of function (*Parser).nextTokenWithParseComment() is high (> 15) (gocyclo)
    • Line 718: warning: cyclomatic complexity 20 of function (*Parser).parseTableConstraints() is high (> 15) (gocyclo)
    • Line 1641: warning: cyclomatic complexity 17 of function (*Parser).parseTableReferenceRight() is high (> 15) (gocyclo)
    • xsqlparser/sqlast/operator.go
    • Line 82: warning: cyclomatic complexity 17 of function (*Operator).WriteTo() is high (> 15) (gocyclo)
    • Line 44: warning: cyclomatic complexity 17 of function (*Operator).ToSQLString() is high (> 15) (gocyclo)

golint58%

Golint is a linter for Go source code.

    • xsqlparser/sqlast/type.go
    • Line 9: warning: exported type Type should have comment or be unexported (golint)
    • Line 13: warning: exported type CharType should have comment or be unexported (golint)
    • Line 18: warning: exported method CharType.Pos should have comment or be unexported (golint)
    • Line 22: warning: exported method CharType.End should have comment or be unexported (golint)
    • Line 29: warning: exported method CharType.ToSQLString should have comment or be unexported (golint)
    • Line 33: warning: exported method CharType.WriteTo should have comment or be unexported (golint)
    • Line 37: warning: exported type VarcharType should have comment or be unexported (golint)
    • Line 42: warning: exported method VarcharType.Pos should have comment or be unexported (golint)
    • Line 46: warning: exported method VarcharType.End should have comment or be unexported (golint)
    • Line 53: warning: exported method VarcharType.ToSQLString should have comment or be unexported (golint)
    • Line 57: warning: exported method VarcharType.WriteTo should have comment or be unexported (golint)
    • Line 61: warning: exported type UUID should have comment or be unexported (golint)
    • Line 65: warning: exported method UUID.Pos should have comment or be unexported (golint)
    • Line 69: warning: exported method UUID.End should have comment or be unexported (golint)
    • Line 73: warning: exported method UUID.ToSQLString should have comment or be unexported (golint)
    • Line 77: warning: exported method UUID.WriteTo should have comment or be unexported (golint)
    • Line 81: warning: exported type Clob should have comment or be unexported (golint)
    • Line 86: warning: exported method Clob.Pos should have comment or be unexported (golint)
    • Line 90: warning: exported method Clob.End should have comment or be unexported (golint)
    • Line 94: warning: exported method Clob.ToSQLString should have comment or be unexported (golint)
    • Line 98: warning: exported method Clob.WriteTo should have comment or be unexported (golint)
    • Line 102: warning: exported type Binary should have comment or be unexported (golint)
    • Line 107: warning: exported method Binary.Pos should have comment or be unexported (golint)
    • Line 111: warning: exported method Binary.End should have comment or be unexported (golint)
    • Line 115: warning: exported method Binary.ToSQLString should have comment or be unexported (golint)
    • Line 119: warning: exported method Binary.WriteTo should have comment or be unexported (golint)
    • Line 123: warning: exported type Varbinary should have comment or be unexported (golint)
    • Line 128: warning: exported method Varbinary.Pos should have comment or be unexported (golint)
    • Line 132: warning: exported method Varbinary.End should have comment or be unexported (golint)
    • Line 136: warning: exported method Varbinary.ToSQLString should have comment or be unexported (golint)
    • Line 140: warning: exported method Varbinary.WriteTo should have comment or be unexported (golint)
    • Line 144: warning: exported type Blob should have comment or be unexported (golint)
    • Line 149: warning: exported method Blob.Pos should have comment or be unexported (golint)
    • Line 153: warning: exported method Blob.End should have comment or be unexported (golint)
    • Line 157: warning: exported method Blob.ToSQLString should have comment or be unexported (golint)
    • Line 161: warning: exported method Blob.WriteTo should have comment or be unexported (golint)
    • Line 167: warning: exported type Decimal should have comment or be unexported (golint)
    • Line 175: warning: exported method Decimal.Pos should have comment or be unexported (golint)
    • Line 179: warning: exported method Decimal.End should have comment or be unexported (golint)
    • Line 186: warning: exported method Decimal.ToSQLString should have comment or be unexported (golint)
    • Line 190: warning: exported method Decimal.WriteTo should have comment or be unexported (golint)
    • Line 206: warning: exported type Float should have comment or be unexported (golint)
    • Line 213: warning: exported method Float.Pos should have comment or be unexported (golint)
    • Line 217: warning: exported method Float.End should have comment or be unexported (golint)
    • Line 227: warning: exported method Float.ToSQLString should have comment or be unexported (golint)
    • Line 231: warning: exported method Float.WriteTo should have comment or be unexported (golint)
    • Line 237: warning: exported type SmallInt should have comment or be unexported (golint)
    • Line 243: warning: exported method SmallInt.Pos should have comment or be unexported (golint)
    • Line 247: warning: exported method SmallInt.End should have comment or be unexported (golint)
    • Line 254: warning: exported method SmallInt.ToSQLString should have comment or be unexported (golint)
    • Line 258: warning: exported method SmallInt.WriteTo should have comment or be unexported (golint)
    • Line 264: warning: exported type Int should have comment or be unexported (golint)
    • Line 270: warning: exported method Int.Pos should have comment or be unexported (golint)
    • Line 274: warning: exported method Int.End should have comment or be unexported (golint)
    • Line 281: warning: exported method Int.ToSQLString should have comment or be unexported (golint)
    • Line 285: warning: exported method Int.WriteTo should have comment or be unexported (golint)
    • Line 291: warning: exported type BigInt should have comment or be unexported (golint)
    • Line 297: warning: exported method BigInt.Pos should have comment or be unexported (golint)
    • Line 301: warning: exported method BigInt.End should have comment or be unexported (golint)
    • Line 308: warning: exported method BigInt.ToSQLString should have comment or be unexported (golint)
    • Line 312: warning: exported method BigInt.WriteTo should have comment or be unexported (golint)
    • Line 318: warning: exported type Real should have comment or be unexported (golint)
    • Line 324: warning: exported method Real.Pos should have comment or be unexported (golint)
    • Line 328: warning: exported method Real.End should have comment or be unexported (golint)
    • Line 335: warning: exported method Real.ToSQLString should have comment or be unexported (golint)
    • Line 339: warning: exported method Real.WriteTo should have comment or be unexported (golint)
    • Line 345: warning: exported type Double should have comment or be unexported (golint)
    • Line 349: warning: exported method Double.Pos should have comment or be unexported (golint)
    • Line 353: warning: exported method Double.End should have comment or be unexported (golint)
    • Line 357: warning: exported method Double.ToSQLString should have comment or be unexported (golint)
    • Line 361: warning: exported method Double.WriteTo should have comment or be unexported (golint)
    • Line 365: warning: exported type Boolean should have comment or be unexported (golint)
    • Line 369: warning: exported method Boolean.Pos should have comment or be unexported (golint)
    • Line 373: warning: exported method Boolean.End should have comment or be unexported (golint)
    • Line 377: warning: exported method Boolean.ToSQLString should have comment or be unexported (golint)
    • Line 381: warning: exported method Boolean.WriteTo should have comment or be unexported (golint)
    • Line 385: warning: exported type Date should have comment or be unexported (golint)
    • Line 389: warning: exported method Date.Pos should have comment or be unexported (golint)
    • Line 393: warning: exported method Date.End should have comment or be unexported (golint)
    • Line 397: warning: exported method Date.ToSQLString should have comment or be unexported (golint)
    • Line 401: warning: exported method Date.WriteTo should have comment or be unexported (golint)
    • Line 405: warning: exported type Time should have comment or be unexported (golint)
    • Line 409: warning: exported method Time.Pos should have comment or be unexported (golint)
    • Line 413: warning: exported method Time.End should have comment or be unexported (golint)
    • Line 417: warning: exported method Time.ToSQLString should have comment or be unexported (golint)
    • Line 421: warning: exported method Time.WriteTo should have comment or be unexported (golint)
    • Line 425: warning: exported type Timestamp should have comment or be unexported (golint)
    • Line 431: warning: exported method Timestamp.Pos should have comment or be unexported (golint)
    • Line 435: warning: exported method Timestamp.End should have comment or be unexported (golint)
    • Line 446: warning: exported method Timestamp.ToSQLString should have comment or be unexported (golint)
    • Line 450: warning: exported method Timestamp.WriteTo should have comment or be unexported (golint)
    • Line 456: warning: exported type Regclass should have comment or be unexported (golint)
    • Line 460: warning: exported method Regclass.Pos should have comment or be unexported (golint)
    • Line 464: warning: exported method Regclass.End should have comment or be unexported (golint)
    • Line 468: warning: exported method Regclass.ToSQLString should have comment or be unexported (golint)
    • Line 472: warning: exported method Regclass.WriteTo should have comment or be unexported (golint)
    • Line 476: warning: exported type Text should have comment or be unexported (golint)
    • Line 480: warning: exported method Text.Pos should have comment or be unexported (golint)
    • Line 484: warning: exported method Text.End should have comment or be unexported (golint)
    • Line 488: warning: exported method Text.ToSQLString should have comment or be unexported (golint)
    • Line 492: warning: exported method Text.WriteTo should have comment or be unexported (golint)
    • Line 496: warning: exported type Bytea should have comment or be unexported (golint)
    • Line 500: warning: exported method Bytea.Pos should have comment or be unexported (golint)
    • Line 504: warning: exported method Bytea.End should have comment or be unexported (golint)
    • Line 508: warning: exported method Bytea.ToSQLString should have comment or be unexported (golint)
    • Line 512: warning: exported method Bytea.WriteTo should have comment or be unexported (golint)
    • Line 516: warning: exported type Array should have comment or be unexported (golint)
    • Line 521: warning: exported method Array.Pos should have comment or be unexported (golint)
    • Line 525: warning: exported method Array.End should have comment or be unexported (golint)
    • Line 529: warning: exported method Array.ToSQLString should have comment or be unexported (golint)
    • Line 533: warning: exported method Array.WriteTo should have comment or be unexported (golint)
    • Line 537: warning: exported type Custom should have comment or be unexported (golint)
    • Line 541: warning: exported method Custom.Pos should have comment or be unexported (golint)
    • Line 545: warning: exported method Custom.End should have comment or be unexported (golint)
    • Line 549: warning: exported method Custom.ToSQLString should have comment or be unexported (golint)
    • Line 553: warning: exported method Custom.WriteTo should have comment or be unexported (golint)
    • Line 557: warning: exported function NewSize should have comment or be unexported (golint)
    • xsqlparser/dialect/keywords.go
    • Line 3: warning: exported var Keywords should have comment or be unexported (golint)
    • Line 4: warning: exported var ReservedForTableAlias should have comment or be unexported (golint)
    • Line 5: warning: exported var ReservedForColumnAlias should have comment or be unexported (golint)
    • Line 389: warning: exported const ABS should have comment (or a comment on this block) or be unexported (golint)
    • xsqlparser/sqltoken/tokenizer.go
    • Line 14: warning: exported type SQLWord should have comment or be unexported (golint)
    • Line 57: warning: exported function MakeKeyword should have comment or be unexported (golint)
    • Line 71: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 80: warning: exported type Token should have comment or be unexported (golint)
    • Line 87: warning: exported function NewPos should have comment or be unexported (golint)
    • Line 94: warning: exported type Pos should have comment or be unexported (golint)
    • Line 103: warning: exported function ComparePos should have comment or be unexported (golint)
    • Line 121: warning: exported type Tokenizer should have comment or be unexported (golint)
    • Line 129: warning: exported function NewTokenizer should have comment or be unexported (golint)
    • Line 140: warning: exported type TokenizerOption should have comment or be unexported (golint)
    • Line 142: warning: exported function Dialect should have comment or be unexported (golint)
    • Line 148: warning: exported function DisableParseComment should have comment or be unexported (golint)
    • Line 154: warning: exported function NewTokenizerWithOptions should have comment or be unexported (golint)
    • Line 162: warning: exported method Tokenizer.Tokenize should have comment or be unexported (golint)
    • Line 183: warning: exported method Tokenizer.NextToken should have comment or be unexported (golint)
    • Line 188: warning: exported method Tokenizer.Scan should have comment or be unexported (golint)
    • Line 213: warning: exported method Tokenizer.Pos should have comment or be unexported (golint)
    • xsqlparser/sqlast/ast.go
    • Line 16: warning: comment on exported type Node should be of the form "Node ..." (with optional leading article) (golint)
    • Line 25: warning: exported type File should have comment or be unexported (golint)
    • Line 30: warning: exported method File.End should have comment or be unexported (golint)
    • Line 41: warning: exported method File.Pos should have comment or be unexported (golint)
    • Line 51: warning: exported method File.ToSQLString should have comment or be unexported (golint)
    • Line 55: warning: exported method File.WriteTo should have comment or be unexported (golint)
    • Line 63: warning: comment on exported type Ident should be of the form "Ident ..." (with optional leading article) (golint)
    • Line 69: warning: exported function NewIdent should have comment or be unexported (golint)
    • Line 73: warning: exported function NewIdentWithPos should have comment or be unexported (golint)
    • Line 81: warning: exported method Ident.ToSQLString should have comment or be unexported (golint)
    • Line 85: warning: exported method Ident.Pos should have comment or be unexported (golint)
    • Line 89: warning: exported method Ident.End should have comment or be unexported (golint)
    • Line 93: warning: exported method Ident.WriteTo should have comment or be unexported (golint)
    • Line 97: warning: exported method Ident.WriteStringTo should have comment or be unexported (golint)
    • Line 102: warning: comment on exported type Wildcard should be of the form "Wildcard ..." (with optional leading article) (golint)
    • Line 107: warning: exported method Wildcard.Pos should have comment or be unexported (golint)
    • Line 111: warning: exported method Wildcard.End should have comment or be unexported (golint)
    • Line 118: warning: exported method Wildcard.ToSQLString should have comment or be unexported (golint)
    • Line 122: warning: exported method Wildcard.WriteTo should have comment or be unexported (golint)
    • Line 126: warning: comment on exported type QualifiedWildcard should be of the form "QualifiedWildcard ..." (with optional leading article) (golint)
    • Line 131: warning: exported method QualifiedWildcard.Pos should have comment or be unexported (golint)
    • Line 135: warning: exported method QualifiedWildcard.End should have comment or be unexported (golint)
    • Line 139: warning: exported method QualifiedWildcard.ToSQLString should have comment or be unexported (golint)
    • Line 143: warning: exported method QualifiedWildcard.WriteTo should have comment or be unexported (golint)
    • Line 147: warning: comment on exported type CompoundIdent should be of the form "CompoundIdent ..." (with optional leading article) (golint)
    • Line 152: warning: exported method CompoundIdent.Pos should have comment or be unexported (golint)
    • Line 156: warning: exported method CompoundIdent.End should have comment or be unexported (golint)
    • Line 160: warning: exported method CompoundIdent.ToSQLString should have comment or be unexported (golint)
    • Line 164: warning: exported method CompoundIdent.WriteTo should have comment or be unexported (golint)
    • Line 168: warning: comment on exported type IsNull should be of the form "IsNull ..." (with optional leading article) (golint)
    • Line 173: warning: exported method IsNull.Pos should have comment or be unexported (golint)
    • Line 177: warning: exported method IsNull.End should have comment or be unexported (golint)
    • Line 184: warning: exported method IsNull.ToSQLString should have comment or be unexported (golint)
    • Line 188: warning: exported method IsNull.WriteTo should have comment or be unexported (golint)
    • Line 192: warning: comment on exported type IsNotNull should be of the form "IsNotNull ..." (with optional leading article) (golint)
    • Line 197: warning: exported method IsNotNull.Pos should have comment or be unexported (golint)
    • Line 201: warning: exported method IsNotNull.End should have comment or be unexported (golint)
    • Line 208: warning: exported method IsNotNull.ToSQLString should have comment or be unexported (golint)
    • Line 212: warning: exported method IsNotNull.WriteTo should have comment or be unexported (golint)
    • Line 216: warning: comment on exported type InList should be of the form "InList ..." (with optional leading article) (golint)
    • Line 224: warning: exported method InList.Pos should have comment or be unexported (golint)
    • Line 228: warning: exported method InList.End should have comment or be unexported (golint)
    • Line 232: warning: exported method InList.ToSQLString should have comment or be unexported (golint)
    • Line 236: warning: exported method InList.WriteTo should have comment or be unexported (golint)
    • Line 243: warning: comment on exported type InSubQuery should be of the form "InSubQuery ..." (with optional leading article) (golint)
    • Line 251: warning: exported method InSubQuery.Pos should have comment or be unexported (golint)
    • Line 255: warning: exported method InSubQuery.End should have comment or be unexported (golint)
    • Line 259: warning: exported method InSubQuery.ToSQLString should have comment or be unexported (golint)
    • Line 263: warning: exported method InSubQuery.WriteTo should have comment or be unexported (golint)
    • Line 270: warning: comment on exported type Between should be of the form "Between ..." (with optional leading article) (golint)
    • Line 278: warning: exported method Between.Pos should have comment or be unexported (golint)
    • Line 282: warning: exported method Between.End should have comment or be unexported (golint)
    • Line 286: warning: exported method Between.ToSQLString should have comment or be unexported (golint)
    • Line 290: warning: exported method Between.WriteTo should have comment or be unexported (golint)
    • Line 297: warning: comment on exported type BinaryExpr should be of the form "BinaryExpr ..." (with optional leading article) (golint)
    • Line 304: warning: exported method BinaryExpr.Pos should have comment or be unexported (golint)
    • Line 308: warning: exported method BinaryExpr.End should have comment or be unexported (golint)
    • Line 312: warning: exported method BinaryExpr.ToSQLString should have comment or be unexported (golint)
    • Line 316: warning: exported method BinaryExpr.WriteTo should have comment or be unexported (golint)
    • Line 330: warning: comment on exported type Cast should be of the form "Cast ..." (with optional leading article) (golint)
    • Line 338: warning: exported method Cast.Pos should have comment or be unexported (golint)
    • Line 342: warning: exported method Cast.End should have comment or be unexported (golint)
    • Line 346: warning: exported method Cast.ToSQLString should have comment or be unexported (golint)
    • Line 350: warning: exported method Cast.WriteTo should have comment or be unexported (golint)
    • Line 359: warning: comment on exported type Nested should be of the form "Nested ..." (with optional leading article) (golint)
    • Line 365: warning: exported method Nested.Pos should have comment or be unexported (golint)
    • Line 369: warning: exported method Nested.End should have comment or be unexported (golint)
    • Line 373: warning: exported method Nested.ToSQLString should have comment or be unexported (golint)
    • Line 377: warning: exported method Nested.WriteTo should have comment or be unexported (golint)
    • Line 381: warning: comment on exported type UnaryExpr should be of the form "UnaryExpr ..." (with optional leading article) (golint)
    • Line 388: warning: exported method UnaryExpr.Pos should have comment or be unexported (golint)
    • Line 392: warning: exported method UnaryExpr.End should have comment or be unexported (golint)
    • Line 396: warning: exported method UnaryExpr.ToSQLString should have comment or be unexported (golint)
    • Line 400: warning: exported method UnaryExpr.WriteTo should have comment or be unexported (golint)
    • Line 404: warning: comment on exported type Function should be of the form "Function ..." (with optional leading article) (golint)
    • Line 413: warning: exported method Function.Pos should have comment or be unexported (golint)
    • Line 417: warning: exported method Function.End should have comment or be unexported (golint)
    • Line 424: warning: exported method Function.ToSQLString should have comment or be unexported (golint)
    • Line 428: warning: exported method Function.WriteTo should have comment or be unexported (golint)
    • Line 437: warning: comment on exported type CaseExpr should be of the form "CaseExpr ..." (with optional leading article) (golint)
    • Line 447: warning: exported method CaseExpr.Pos should have comment or be unexported (golint)
    • Line 451: warning: exported method CaseExpr.End should have comment or be unexported (golint)
    • Line 455: warning: exported method CaseExpr.ToSQLString should have comment or be unexported (golint)
    • Line 459: warning: exported method CaseExpr.WriteTo should have comment or be unexported (golint)
    • Line 476: warning: comment on exported type Exists should be of the form "Exists ..." (with optional leading article) (golint)
    • Line 485: warning: exported method Exists.Pos should have comment or be unexported (golint)
    • Line 492: warning: exported method Exists.End should have comment or be unexported (golint)
    • Line 496: warning: exported method Exists.ToSQLString should have comment or be unexported (golint)
    • Line 500: warning: exported method Exists.WriteTo should have comment or be unexported (golint)
    • Line 506: warning: comment on exported type SubQuery should be of the form "SubQuery ..." (with optional leading article) (golint)
    • Line 512: warning: exported method SubQuery.Pos should have comment or be unexported (golint)
    • Line 516: warning: exported method SubQuery.End should have comment or be unexported (golint)
    • Line 520: warning: exported method SubQuery.ToSQLString should have comment or be unexported (golint)
    • Line 524: warning: exported method SubQuery.WriteTo should have comment or be unexported (golint)
    • Line 528: warning: comment on exported type ObjectName should be of the form "ObjectName ..." (with optional leading article) (golint)
    • Line 533: warning: exported function NewObjectName should have comment or be unexported (golint)
    • Line 545: warning: exported method ObjectName.Pos should have comment or be unexported (golint)
    • Line 549: warning: exported method ObjectName.End should have comment or be unexported (golint)
    • Line 553: warning: exported method ObjectName.ToSQLString should have comment or be unexported (golint)
    • Line 557: warning: exported method ObjectName.WriteTo should have comment or be unexported (golint)
    • Line 561: warning: exported type WindowSpec should have comment or be unexported (golint)
    • Line 568: warning: exported method WindowSpec.Pos should have comment or be unexported (golint)
    • Line 579: warning: exported method WindowSpec.End should have comment or be unexported (golint)
    • Line 591: warning: exported method WindowSpec.ToSQLString should have comment or be unexported (golint)
    • Line 595: warning: exported method WindowSpec.WriteTo should have comment or be unexported (golint)
    • Line 622: warning: exported type WindowFrame should have comment or be unexported (golint)
    • Line 628: warning: exported method WindowFrame.Pos should have comment or be unexported (golint)
    • Line 632: warning: exported method WindowFrame.End should have comment or be unexported (golint)
    • Line 640: warning: exported method WindowFrame.ToSQLString should have comment or be unexported (golint)
    • Line 644: warning: exported method WindowFrame.WriteTo should have comment or be unexported (golint)
    • Line 650: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 655: warning: exported type WindowFrameUnit should have comment or be unexported (golint)
    • Line 660: warning: exported method WindowFrameUnit.Pos should have comment or be unexported (golint)
    • Line 664: warning: exported method WindowFrameUnit.End should have comment or be unexported (golint)
    • Line 668: warning: exported type WindowFrameUnitType should have comment or be unexported (golint)
    • Line 671: warning: exported const RowsUnit should have comment (or a comment on this block) or be unexported (golint)
    • Line 676: warning: exported method WindowFrameUnit.ToSQLString should have comment or be unexported (golint)
    • Line 688: warning: exported method WindowFrameUnit.WriteTo should have comment or be unexported (golint)
    • Line 700: warning: exported method WindowFrameUnit.FromStr should have comment or be unexported (golint)
    • Line 719: warning: exported type CurrentRow should have comment or be unexported (golint)
    • Line 725: warning: exported method CurrentRow.Pos should have comment or be unexported (golint)
    • Line 729: warning: exported method CurrentRow.End should have comment or be unexported (golint)
    • Line 733: warning: exported method CurrentRow.ToSQLString should have comment or be unexported (golint)
    • Line 737: warning: exported method CurrentRow.WriteTo should have comment or be unexported (golint)
    • Line 741: warning: exported type UnboundedPreceding should have comment or be unexported (golint)
    • Line 747: warning: exported method UnboundedPreceding.Pos should have comment or be unexported (golint)
    • Line 751: warning: exported method UnboundedPreceding.End should have comment or be unexported (golint)
    • Line 755: warning: exported method UnboundedPreceding.ToSQLString should have comment or be unexported (golint)
    • Line 759: warning: exported method UnboundedPreceding.WriteTo should have comment or be unexported (golint)
    • Line 763: warning: exported type UnboundedFollowing should have comment or be unexported (golint)
    • Line 769: warning: exported method UnboundedFollowing.Pos should have comment or be unexported (golint)
    • Line 773: warning: exported method UnboundedFollowing.End should have comment or be unexported (golint)
    • Line 777: warning: exported method UnboundedFollowing.ToSQLString should have comment or be unexported (golint)
    • Line 781: warning: exported method UnboundedFollowing.WriteTo should have comment or be unexported (golint)
    • Line 785: warning: comment on exported type Preceding should be of the form "Preceding ..." (with optional leading article) (golint)
    • Line 793: warning: exported method Preceding.Pos should have comment or be unexported (golint)
    • Line 797: warning: exported method Preceding.End should have comment or be unexported (golint)
    • Line 801: warning: exported method Preceding.ToSQLString should have comment or be unexported (golint)
    • Line 805: warning: exported method Preceding.WriteTo should have comment or be unexported (golint)
    • Line 809: warning: comment on exported type Following should be of the form "Following ..." (with optional leading article) (golint)
    • Line 817: warning: exported method Following.Pos should have comment or be unexported (golint)
    • Line 821: warning: exported method Following.End should have comment or be unexported (golint)
    • Line 825: warning: exported method Following.ToSQLString should have comment or be unexported (golint)
    • Line 829: warning: exported method Following.WriteTo should have comment or be unexported (golint)
    • xsqlparser/sqlast/comment.go
    • Line 9: warning: exported type CommentGroup should have comment or be unexported (golint)
    • Line 13: warning: exported method CommentGroup.ToSQLString should have comment or be unexported (golint)
    • Line 17: warning: exported method CommentGroup.WriteTo should have comment or be unexported (golint)
    • Line 25: warning: exported method CommentGroup.Pos should have comment or be unexported (golint)
    • Line 29: warning: exported method CommentGroup.End should have comment or be unexported (golint)
    • Line 33: warning: exported type Comment should have comment or be unexported (golint)
    • Line 38: warning: exported method Comment.ToSQLString should have comment or be unexported (golint)
    • Line 42: warning: exported method Comment.WriteTo should have comment or be unexported (golint)
    • Line 46: warning: exported method Comment.Pos should have comment or be unexported (golint)
    • Line 50: warning: exported method Comment.End should have comment or be unexported (golint)
    • xsqlparser/sqlast/stmt.go
    • Line 12: warning: comment on exported type InsertStmt should be of the form "InsertStmt ..." (with optional leading article) (golint)
    • Line 22: warning: exported method InsertStmt.Pos should have comment or be unexported (golint)
    • Line 26: warning: exported method InsertStmt.End should have comment or be unexported (golint)
    • Line 34: warning: exported method InsertStmt.ToSQLString should have comment or be unexported (golint)
    • Line 38: warning: exported method InsertStmt.WriteTo should have comment or be unexported (golint)
    • Line 56: warning: comment on exported type SubQuerySource should be of the form "SubQuerySource ..." (with optional leading article) (golint)
    • Line 62: warning: exported method SubQuerySource.Pos should have comment or be unexported (golint)
    • Line 66: warning: exported method SubQuerySource.End should have comment or be unexported (golint)
    • Line 70: warning: exported method SubQuerySource.ToSQLString should have comment or be unexported (golint)
    • Line 74: warning: exported method SubQuerySource.WriteTo should have comment or be unexported (golint)
    • Line 78: warning: exported type ConstructorSource should have comment or be unexported (golint)
    • Line 84: warning: exported method ConstructorSource.Pos should have comment or be unexported (golint)
    • Line 88: warning: exported method ConstructorSource.End should have comment or be unexported (golint)
    • Line 92: warning: exported method ConstructorSource.ToSQLString should have comment or be unexported (golint)
    • Line 96: warning: exported method ConstructorSource.WriteTo should have comment or be unexported (golint)
    • Line 105: warning: exported type RowValueExpr should have comment or be unexported (golint)
    • Line 110: warning: exported method RowValueExpr.Pos should have comment or be unexported (golint)
    • Line 114: warning: exported method RowValueExpr.End should have comment or be unexported (golint)
    • Line 118: warning: exported method RowValueExpr.ToSQLString should have comment or be unexported (golint)
    • Line 122: warning: exported method RowValueExpr.WriteTo should have comment or be unexported (golint)
    • Line 132: warning: comment on exported type CopyStmt should be of the form "CopyStmt ..." (with optional leading article) (golint)
    • Line 141: warning: exported method CopyStmt.Pos should have comment or be unexported (golint)
    • Line 145: warning: comment on exported method CopyStmt.End should be of the form "End ..." (golint)
    • Line 150: warning: exported method CopyStmt.ToSQLString should have comment or be unexported (golint)
    • Line 154: warning: exported method CopyStmt.WriteTo should have comment or be unexported (golint)
    • Line 178: warning: exported type UpdateStmt should have comment or be unexported (golint)
    • Line 186: warning: exported method UpdateStmt.Pos should have comment or be unexported (golint)
    • Line 190: warning: exported method UpdateStmt.End should have comment or be unexported (golint)
    • Line 198: warning: exported method UpdateStmt.ToSQLString should have comment or be unexported (golint)
    • Line 202: warning: exported method UpdateStmt.WriteTo should have comment or be unexported (golint)
    • Line 216: warning: exported type DeleteStmt should have comment or be unexported (golint)
    • Line 223: warning: exported method DeleteStmt.Pos should have comment or be unexported (golint)
    • Line 227: warning: exported method DeleteStmt.End should have comment or be unexported (golint)
    • Line 235: warning: exported method DeleteStmt.ToSQLString should have comment or be unexported (golint)
    • Line 239: warning: exported method DeleteStmt.WriteTo should have comment or be unexported (golint)
    • Line 248: warning: exported type CreateViewStmt should have comment or be unexported (golint)
    • Line 256: warning: exported method CreateViewStmt.Pos should have comment or be unexported (golint)
    • Line 260: warning: exported method CreateViewStmt.End should have comment or be unexported (golint)
    • Line 264: warning: exported method CreateViewStmt.ToSQLString should have comment or be unexported (golint)
    • Line 268: warning: exported method CreateViewStmt.WriteTo should have comment or be unexported (golint)
    • Line 276: warning: exported type CreateTableStmt should have comment or be unexported (golint)
    • Line 286: warning: exported method CreateTableStmt.Pos should have comment or be unexported (golint)
    • Line 290: warning: exported method CreateTableStmt.End should have comment or be unexported (golint)
    • Line 294: warning: exported method CreateTableStmt.ToSQLString should have comment or be unexported (golint)
    • Line 298: warning: exported method CreateTableStmt.WriteTo should have comment or be unexported (golint)
    • Line 315: warning: exported type Assignment should have comment or be unexported (golint)
    • Line 320: warning: exported method Assignment.Pos should have comment or be unexported (golint)
    • Line 324: warning: exported method Assignment.End should have comment or be unexported (golint)
    • Line 328: warning: exported method Assignment.ToSQLString should have comment or be unexported (golint)
    • Line 332: warning: exported method Assignment.WriteTo should have comment or be unexported (golint)
    • Line 338: warning: exported type TableConstraint should have comment or be unexported (golint)
    • Line 345: warning: exported method TableConstraint.Pos should have comment or be unexported (golint)
    • Line 352: warning: exported method TableConstraint.End should have comment or be unexported (golint)
    • Line 356: warning: exported method TableConstraint.ToSQLString should have comment or be unexported (golint)
    • Line 360: warning: exported method TableConstraint.WriteTo should have comment or be unexported (golint)
    • Line 371: warning: exported type UniqueTableConstraint should have comment or be unexported (golint)
    • Line 379: warning: exported method UniqueTableConstraint.Pos should have comment or be unexported (golint)
    • Line 386: warning: exported method UniqueTableConstraint.End should have comment or be unexported (golint)
    • Line 390: warning: exported method UniqueTableConstraint.ToSQLString should have comment or be unexported (golint)
    • Line 394: warning: exported method UniqueTableConstraint.WriteTo should have comment or be unexported (golint)
    • Line 405: warning: exported type ReferentialTableConstraint should have comment or be unexported (golint)
    • Line 412: warning: exported method ReferentialTableConstraint.Pos should have comment or be unexported (golint)
    • Line 416: warning: exported method ReferentialTableConstraint.End should have comment or be unexported (golint)
    • Line 420: warning: exported method ReferentialTableConstraint.ToSQLString should have comment or be unexported (golint)
    • Line 424: warning: exported method ReferentialTableConstraint.WriteTo should have comment or be unexported (golint)
    • Line 432: warning: exported type ReferenceKeyExpr should have comment or be unexported (golint)
    • Line 438: warning: exported method ReferenceKeyExpr.Pos should have comment or be unexported (golint)
    • Line 442: warning: exported method ReferenceKeyExpr.End should have comment or be unexported (golint)
    • Line 446: warning: exported method ReferenceKeyExpr.ToSQLString should have comment or be unexported (golint)
    • Line 450: warning: exported method ReferenceKeyExpr.WriteTo should have comment or be unexported (golint)
    • Line 456: warning: exported type CheckTableConstraint should have comment or be unexported (golint)
    • Line 463: warning: exported method CheckTableConstraint.Pos should have comment or be unexported (golint)
    • Line 467: warning: exported method CheckTableConstraint.End should have comment or be unexported (golint)
    • Line 471: warning: exported method CheckTableConstraint.ToSQLString should have comment or be unexported (golint)
    • Line 475: warning: exported method CheckTableConstraint.WriteTo should have comment or be unexported (golint)
    • Line 481: warning: exported type ColumnDef should have comment or be unexported (golint)
    • Line 490: warning: exported method ColumnDef.Pos should have comment or be unexported (golint)
    • Line 494: warning: exported method ColumnDef.End should have comment or be unexported (golint)
    • Line 498: warning: exported method ColumnDef.ToSQLString should have comment or be unexported (golint)
    • Line 502: warning: exported method ColumnDef.WriteTo should have comment or be unexported (golint)
    • Line 519: warning: exported type AutoIncrement should have comment or be unexported (golint)
    • Line 525: warning: exported method AutoIncrement.ToSQLString should have comment or be unexported (golint)
    • Line 529: warning: exported method AutoIncrement.WriteTo should have comment or be unexported (golint)
    • Line 533: warning: exported method AutoIncrement.Pos should have comment or be unexported (golint)
    • Line 537: warning: exported method AutoIncrement.End should have comment or be unexported (golint)
    • Line 541: warning: exported type ColumnConstraint should have comment or be unexported (golint)
    • Line 547: warning: exported method ColumnConstraint.Pos should have comment or be unexported (golint)
    • Line 554: warning: exported method ColumnConstraint.End should have comment or be unexported (golint)
    • Line 558: warning: exported method ColumnConstraint.ToSQLString should have comment or be unexported (golint)
    • Line 562: warning: exported method ColumnConstraint.WriteTo should have comment or be unexported (golint)
    • Line 572: warning: comment on exported type ColumnConstraintSpec should be of the form "ColumnConstraintSpec ..." (with optional leading article) (golint)
    • Line 577: warning: exported type NotNullColumnSpec should have comment or be unexported (golint)
    • Line 581: warning: exported method NotNullColumnSpec.Pos should have comment or be unexported (golint)
    • Line 585: warning: exported method NotNullColumnSpec.End should have comment or be unexported (golint)
    • Line 589: warning: exported method NotNullColumnSpec.ToSQLString should have comment or be unexported (golint)
    • Line 593: warning: exported method NotNullColumnSpec.WriteTo should have comment or be unexported (golint)
    • Line 597: warning: exported type UniqueColumnSpec should have comment or be unexported (golint)
    • Line 603: warning: exported method UniqueColumnSpec.Pos should have comment or be unexported (golint)
    • Line 610: warning: exported method UniqueColumnSpec.End should have comment or be unexported (golint)
    • Line 620: warning: exported method UniqueColumnSpec.ToSQLString should have comment or be unexported (golint)
    • Line 623: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 628: warning: exported method UniqueColumnSpec.WriteTo should have comment or be unexported (golint)
    • Line 631: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 636: warning: exported type ReferencesColumnSpec should have comment or be unexported (golint)
    • Line 643: warning: exported method ReferencesColumnSpec.Pos should have comment or be unexported (golint)
    • Line 647: warning: exported method ReferencesColumnSpec.End should have comment or be unexported (golint)
    • Line 651: warning: exported method ReferencesColumnSpec.ToSQLString should have comment or be unexported (golint)
    • Line 655: warning: exported method ReferencesColumnSpec.WriteTo should have comment or be unexported (golint)
    • Line 662: warning: exported type CheckColumnSpec should have comment or be unexported (golint)
    • Line 668: warning: exported method CheckColumnSpec.Pos should have comment or be unexported (golint)
    • Line 672: warning: exported method CheckColumnSpec.End should have comment or be unexported (golint)
    • Line 676: warning: exported method CheckColumnSpec.ToSQLString should have comment or be unexported (golint)
    • Line 680: warning: exported method CheckColumnSpec.WriteTo should have comment or be unexported (golint)
    • Line 686: warning: comment on exported type FileFormat should be of the form "FileFormat ..." (with optional leading article) (golint)
    • Line 690: warning: exported const TEXTFILE should have comment (or a comment on this block) or be unexported (golint)
    • Line 699: warning: exported method FileFormat.ToSQLString should have comment or be unexported (golint)
    • Line 719: warning: exported method FileFormat.FromStr should have comment or be unexported (golint)
    • Line 740: warning: exported type AlterTableStmt should have comment or be unexported (golint)
    • Line 747: warning: exported method AlterTableStmt.Pos should have comment or be unexported (golint)
    • Line 751: warning: exported method AlterTableStmt.End should have comment or be unexported (golint)
    • Line 755: warning: exported method AlterTableStmt.ToSQLString should have comment or be unexported (golint)
    • Line 759: warning: exported method AlterTableStmt.WriteTo should have comment or be unexported (golint)
    • Line 767: warning: exported type AddColumnTableAction should have comment or be unexported (golint)
    • Line 773: warning: exported method AddColumnTableAction.Pos should have comment or be unexported (golint)
    • Line 777: warning: exported method AddColumnTableAction.End should have comment or be unexported (golint)
    • Line 781: warning: exported method AddColumnTableAction.ToSQLString should have comment or be unexported (golint)
    • Line 785: warning: exported method AddColumnTableAction.WriteTo should have comment or be unexported (golint)
    • Line 791: warning: exported type AlterColumnTableAction should have comment or be unexported (golint)
    • Line 798: warning: exported method AlterColumnTableAction.Pos should have comment or be unexported (golint)
    • Line 802: warning: exported method AlterColumnTableAction.End should have comment or be unexported (golint)
    • Line 806: warning: exported method AlterColumnTableAction.ToSQLString should have comment or be unexported (golint)
    • Line 810: warning: exported method AlterColumnTableAction.WriteTo should have comment or be unexported (golint)
    • Line 821: warning: exported type SetDefaultColumnAction should have comment or be unexported (golint)
    • Line 827: warning: exported method SetDefaultColumnAction.Pos should have comment or be unexported (golint)
    • Line 831: warning: exported method SetDefaultColumnAction.End should have comment or be unexported (golint)
    • Line 835: warning: exported method SetDefaultColumnAction.ToSQLString should have comment or be unexported (golint)
    • Line 839: warning: exported method SetDefaultColumnAction.WriteTo should have comment or be unexported (golint)
    • Line 843: warning: exported type DropDefaultColumnAction should have comment or be unexported (golint)
    • Line 848: warning: exported method DropDefaultColumnAction.Pos should have comment or be unexported (golint)
    • Line 852: warning: exported method DropDefaultColumnAction.End should have comment or be unexported (golint)
    • Line 856: warning: exported method DropDefaultColumnAction.ToSQLString should have comment or be unexported (golint)
    • Line 860: warning: exported method DropDefaultColumnAction.WriteTo should have comment or be unexported (golint)
    • Line 864: warning: comment on exported type PGAlterDataTypeColumnAction should be of the form "PGAlterDataTypeColumnAction ..." (with optional leading article) (golint)
    • Line 871: warning: exported method PGAlterDataTypeColumnAction.Pos should have comment or be unexported (golint)
    • Line 875: warning: exported method PGAlterDataTypeColumnAction.End should have comment or be unexported (golint)
    • Line 879: warning: exported method PGAlterDataTypeColumnAction.ToSQLString should have comment or be unexported (golint)
    • Line 883: warning: exported method PGAlterDataTypeColumnAction.WriteTo should have comment or be unexported (golint)
    • Line 887: warning: exported type PGSetNotNullColumnAction should have comment or be unexported (golint)
    • Line 892: warning: exported method PGSetNotNullColumnAction.Pos should have comment or be unexported (golint)
    • Line 896: warning: exported method PGSetNotNullColumnAction.End should have comment or be unexported (golint)
    • Line 900: warning: exported method PGSetNotNullColumnAction.ToSQLString should have comment or be unexported (golint)
    • Line 904: warning: exported method PGSetNotNullColumnAction.WriteTo should have comment or be unexported (golint)
    • Line 908: warning: exported type PGDropNotNullColumnAction should have comment or be unexported (golint)
    • Line 913: warning: exported method PGDropNotNullColumnAction.Pos should have comment or be unexported (golint)
    • Line 917: warning: exported method PGDropNotNullColumnAction.End should have comment or be unexported (golint)
    • Line 921: warning: exported method PGDropNotNullColumnAction.ToSQLString should have comment or be unexported (golint)
    • Line 925: warning: exported method PGDropNotNullColumnAction.WriteTo should have comment or be unexported (golint)
    • Line 929: warning: exported type RemoveColumnTableAction should have comment or be unexported (golint)
    • Line 937: warning: exported method RemoveColumnTableAction.Pos should have comment or be unexported (golint)
    • Line 941: warning: exported method RemoveColumnTableAction.End should have comment or be unexported (golint)
    • Line 948: warning: exported method RemoveColumnTableAction.ToSQLString should have comment or be unexported (golint)
    • Line 952: warning: exported method RemoveColumnTableAction.WriteTo should have comment or be unexported (golint)
    • Line 958: warning: exported type AddConstraintTableAction should have comment or be unexported (golint)
    • Line 964: warning: exported method AddConstraintTableAction.Pos should have comment or be unexported (golint)
    • Line 968: warning: exported method AddConstraintTableAction.End should have comment or be unexported (golint)
    • Line 972: warning: exported method AddConstraintTableAction.ToSQLString should have comment or be unexported (golint)
    • Line 976: warning: exported method AddConstraintTableAction.WriteTo should have comment or be unexported (golint)
    • Line 980: warning: exported type DropConstraintTableAction should have comment or be unexported (golint)
    • Line 988: warning: exported method DropConstraintTableAction.Pos should have comment or be unexported (golint)
    • Line 992: warning: exported method DropConstraintTableAction.End should have comment or be unexported (golint)
    • Line 1000: warning: exported method DropConstraintTableAction.ToSQLString should have comment or be unexported (golint)
    • Line 1004: warning: exported method DropConstraintTableAction.WriteTo should have comment or be unexported (golint)
    • Line 1010: warning: exported type DropTableStmt should have comment or be unexported (golint)
    • Line 1019: warning: exported method DropTableStmt.Pos should have comment or be unexported (golint)
    • Line 1023: warning: exported method DropTableStmt.End should have comment or be unexported (golint)
    • Line 1031: warning: exported method DropTableStmt.ToSQLString should have comment or be unexported (golint)
    • Line 1035: warning: exported method DropTableStmt.WriteTo should have comment or be unexported (golint)
    • Line 1046: warning: exported type CreateIndexStmt should have comment or be unexported (golint)
    • Line 1058: warning: exported method CreateIndexStmt.Pos should have comment or be unexported (golint)
    • Line 1062: warning: exported method CreateIndexStmt.End should have comment or be unexported (golint)
    • Line 1070: warning: exported method CreateIndexStmt.ToSQLString should have comment or be unexported (golint)
    • Line 1074: warning: exported method CreateIndexStmt.WriteTo should have comment or be unexported (golint)
    • Line 1091: warning: exported type DropIndexStmt should have comment or be unexported (golint)
    • Line 1097: warning: exported method DropIndexStmt.Pos should have comment or be unexported (golint)
    • Line 1101: warning: exported method DropIndexStmt.End should have comment or be unexported (golint)
    • Line 1105: warning: exported method DropIndexStmt.ToSQLString should have comment or be unexported (golint)
    • Line 1109: warning: exported method DropIndexStmt.WriteTo should have comment or be unexported (golint)
    • Line 1115: warning: exported type ExplainStmt should have comment or be unexported (golint)
    • Line 1121: warning: exported method ExplainStmt.Pos should have comment or be unexported (golint)
    • Line 1125: warning: exported method ExplainStmt.End should have comment or be unexported (golint)
    • Line 1129: warning: exported method ExplainStmt.ToSQLString should have comment or be unexported (golint)
    • Line 1133: warning: exported method ExplainStmt.WriteTo should have comment or be unexported (golint)
    • xsqlparser/sqlast/table_option.go
    • Line 11: warning: comment on exported type MyEngine should be of the form "MyEngine ..." (with optional leading article) (golint)
    • Line 19: warning: exported method MyEngine.ToSQLString should have comment or be unexported (golint)
    • Line 23: warning: exported method MyEngine.WriteTo should have comment or be unexported (golint)
    • Line 29: warning: exported method MyEngine.Pos should have comment or be unexported (golint)
    • Line 33: warning: exported method MyEngine.End should have comment or be unexported (golint)
    • Line 37: warning: exported type MyCharset should have comment or be unexported (golint)
    • Line 46: warning: exported method MyCharset.ToSQLString should have comment or be unexported (golint)
    • Line 50: warning: exported method MyCharset.WriteTo should have comment or be unexported (golint)
    • Line 57: warning: exported method MyCharset.Pos should have comment or be unexported (golint)
    • Line 64: warning: exported method MyCharset.End should have comment or be unexported (golint)
    • xsqlparser/dialect/dialect.go
    • Line 3: warning: exported type Dialect should have comment or be unexported (golint)
    • Line 9: warning: exported type GenericSQLDialect should have comment or be unexported (golint)
    • Line 12: warning: exported method GenericSQLDialect.IsIdentifierStart should have comment or be unexported (golint)
    • Line 16: warning: exported method GenericSQLDialect.IsIdentifierPart should have comment or be unexported (golint)
    • Line 20: warning: exported method GenericSQLDialect.IsDelimitedIdentifierStart should have comment or be unexported (golint)
    • xsqlparser/dialect/mysql.go
    • Line 3: warning: exported type MySQLDialect should have comment or be unexported (golint)
    • Line 7: warning: exported method MySQLDialect.IsDelimitedIdentifierStart should have comment or be unexported (golint)
    • xsqlparser/sqlastutil/rewrite.go
    • Line 10: warning: exported type ApplyFunc should have comment or be unexported (golint)
    • Line 14: warning: exported function Apply should have comment or be unexported (golint)
    • Line 30: warning: exported type Cursor should have comment or be unexported (golint)
    • Line 37: warning: exported method Cursor.Node should have comment or be unexported (golint)
    • Line 39: warning: exported method Cursor.Parent should have comment or be unexported (golint)
    • Line 41: warning: exported method Cursor.Name should have comment or be unexported (golint)
    • Line 43: warning: exported method Cursor.Index should have comment or be unexported (golint)
    • Line 54: warning: exported method Cursor.Replace should have comment or be unexported (golint)
    • Line 62: warning: exported method Cursor.Delete should have comment or be unexported (golint)
    • Line 76: warning: exported method Cursor.InsertAfter should have comment or be unexported (golint)
    • Line 89: warning: exported method Cursor.InsertBefore should have comment or be unexported (golint)
    • xsqlparser/parser.go
    • Line 18: warning: exported type Parser should have comment or be unexported (golint)
    • Line 25: warning: exported type ParserOption should have comment or be unexported (golint)
    • Line 27: warning: exported function ParseComment should have comment or be unexported (golint)
    • Line 34: warning: exported function NewParser should have comment or be unexported (golint)
    • Line 50: warning: exported function NewParserWithOptions should have comment or be unexported (golint)
    • Line 58: warning: comment on exported method Parser.SetTokens should be of the form "SetTokens ..." (golint)
    • Line 64: warning: exported method Parser.ParseFile should have comment or be unexported (golint)
    • Line 86: warning: exported method Parser.ParseSQL should have comment or be unexported (golint)
    • Line 129: warning: exported method Parser.ParseStatement should have comment or be unexported (golint)
    • Line 172: warning: exported method Parser.ParseDataType should have comment or be unexported (golint)
    • Line 299: warning: exported method Parser.ParseExpr should have comment or be unexported (golint)
    • Line 600: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 2444: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 2624: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 2665: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 3028: warning: error var EOF should have name of the form ErrFoo (golint)
    • Line 3028: warning: exported var EOF should have comment or be unexported (golint)
    • Line 3113: warning: exported method Parser.Debug should have comment or be unexported (golint)
    • xsqlparser/sqlast/operator.go
    • Line 9: warning: exported type Operator should have comment or be unexported (golint)
    • Line 14: warning: exported method Operator.Pos should have comment or be unexported (golint)
    • Line 18: warning: exported method Operator.End should have comment or be unexported (golint)
    • Line 22: warning: exported type OperatorType should have comment or be unexported (golint)
    • Line 25: warning: exported const Plus should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported method Operator.ToSQLString should have comment or be unexported (golint)
    • Line 82: warning: exported method Operator.WriteTo should have comment or be unexported (golint)
    • xsqlparser/testhelper.go
    • Line 10: warning: exported var IgnoreMarker should have comment or be unexported (golint)
    • Line 17: warning: exported function CompareWithoutMarker should have comment or be unexported (golint)
    • xsqlparser/sqlast/query.go
    • Line 20: warning: exported method QueryStmt.Pos should have comment or be unexported (golint)
    • Line 28: warning: exported method QueryStmt.End should have comment or be unexported (golint)
    • Line 40: warning: exported method QueryStmt.ToSQLString should have comment or be unexported (golint)
    • Line 44: warning: exported method QueryStmt.WriteTo should have comment or be unexported (golint)
    • Line 68: warning: comment on exported type CTE should be of the form "CTE ..." (with optional leading article) (golint)
    • Line 75: warning: exported method CTE.Pos should have comment or be unexported (golint)
    • Line 79: warning: exported method CTE.End should have comment or be unexported (golint)
    • Line 83: warning: exported method CTE.ToSQLString should have comment or be unexported (golint)
    • Line 87: warning: exported method CTE.WriteTo should have comment or be unexported (golint)
    • Line 95: warning: comment on exported type SelectExpr should be of the form "SelectExpr ..." (with optional leading article) (golint)
    • Line 101: warning: exported method SelectExpr.Pos should have comment or be unexported (golint)
    • Line 105: warning: exported method SelectExpr.End should have comment or be unexported (golint)
    • Line 109: warning: exported method SelectExpr.ToSQLString should have comment or be unexported (golint)
    • Line 113: warning: exported method SelectExpr.WriteTo should have comment or be unexported (golint)
    • Line 117: warning: comment on exported type QueryExpr should be of the form "QueryExpr ..." (with optional leading article) (golint)
    • Line 124: warning: exported method QueryExpr.Pos should have comment or be unexported (golint)
    • Line 128: warning: exported method QueryExpr.End should have comment or be unexported (golint)
    • Line 132: warning: exported method QueryExpr.ToSQLString should have comment or be unexported (golint)
    • Line 136: warning: exported method QueryExpr.WriteTo should have comment or be unexported (golint)
    • Line 140: warning: exported type SetOperationExpr should have comment or be unexported (golint)
    • Line 148: warning: exported method SetOperationExpr.Pos should have comment or be unexported (golint)
    • Line 152: warning: exported method SetOperationExpr.End should have comment or be unexported (golint)
    • Line 156: warning: exported method SetOperationExpr.ToSQLString should have comment or be unexported (golint)
    • Line 160: warning: exported method SetOperationExpr.WriteTo should have comment or be unexported (golint)
    • Line 168: warning: exported type UnionOperator should have comment or be unexported (golint)
    • Line 173: warning: exported method UnionOperator.Pos should have comment or be unexported (golint)
    • Line 177: warning: exported method UnionOperator.End should have comment or be unexported (golint)
    • Line 181: warning: exported method UnionOperator.ToSQLString should have comment or be unexported (golint)
    • Line 185: warning: exported method UnionOperator.WriteTo should have comment or be unexported (golint)
    • Line 189: warning: exported type ExceptOperator should have comment or be unexported (golint)
    • Line 194: warning: exported method ExceptOperator.Pos should have comment or be unexported (golint)
    • Line 198: warning: exported method ExceptOperator.End should have comment or be unexported (golint)
    • Line 202: warning: exported method ExceptOperator.ToSQLString should have comment or be unexported (golint)
    • Line 206: warning: exported method ExceptOperator.WriteTo should have comment or be unexported (golint)
    • Line 210: warning: exported type IntersectOperator should have comment or be unexported (golint)
    • Line 215: warning: exported method IntersectOperator.Pos should have comment or be unexported (golint)
    • Line 219: warning: exported method IntersectOperator.End should have comment or be unexported (golint)
    • Line 223: warning: exported method IntersectOperator.ToSQLString should have comment or be unexported (golint)
    • Line 227: warning: exported method IntersectOperator.WriteTo should have comment or be unexported (golint)
    • Line 231: warning: exported type SQLSelect should have comment or be unexported (golint)
    • Line 242: warning: exported method SQLSelect.Pos should have comment or be unexported (golint)
    • Line 246: warning: exported method SQLSelect.End should have comment or be unexported (golint)
    • Line 266: warning: exported method SQLSelect.ToSQLString should have comment or be unexported (golint)
    • Line 270: warning: exported method SQLSelect.WriteTo should have comment or be unexported (golint)
    • Line 304: warning: comment on exported type Table should be of the form "Table ..." (with optional leading article) (golint)
    • Line 316: warning: exported method Table.Pos should have comment or be unexported (golint)
    • Line 320: warning: exported method Table.End should have comment or be unexported (golint)
    • Line 336: warning: exported method Table.ToSQLString should have comment or be unexported (golint)
    • Line 340: warning: exported method Table.WriteTo should have comment or be unexported (golint)
    • Line 355: warning: exported type Derived should have comment or be unexported (golint)
    • Line 366: warning: exported method Derived.Pos should have comment or be unexported (golint)
    • Line 373: warning: exported method Derived.End should have comment or be unexported (golint)
    • Line 381: warning: exported method Derived.ToSQLString should have comment or be unexported (golint)
    • Line 385: warning: exported method Derived.WriteTo should have comment or be unexported (golint)
    • Line 397: warning: exported type UnnamedSelectItem should have comment or be unexported (golint)
    • Line 402: warning: exported method UnnamedSelectItem.Pos should have comment or be unexported (golint)
    • Line 406: warning: exported method UnnamedSelectItem.End should have comment or be unexported (golint)
    • Line 410: warning: exported method UnnamedSelectItem.ToSQLString should have comment or be unexported (golint)
    • Line 414: warning: exported method UnnamedSelectItem.WriteTo should have comment or be unexported (golint)
    • Line 418: warning: exported type AliasSelectItem should have comment or be unexported (golint)
    • Line 424: warning: exported method AliasSelectItem.Pos should have comment or be unexported (golint)
    • Line 428: warning: exported method AliasSelectItem.End should have comment or be unexported (golint)
    • Line 432: warning: exported method AliasSelectItem.ToSQLString should have comment or be unexported (golint)
    • Line 436: warning: exported method AliasSelectItem.WriteTo should have comment or be unexported (golint)
    • Line 440: warning: comment on exported type QualifiedWildcardSelectItem should be of the form "QualifiedWildcardSelectItem ..." (with optional leading article) (golint)
    • Line 446: warning: exported method QualifiedWildcardSelectItem.Pos should have comment or be unexported (golint)
    • Line 450: warning: exported method QualifiedWildcardSelectItem.End should have comment or be unexported (golint)
    • Line 457: warning: exported method QualifiedWildcardSelectItem.ToSQLString should have comment or be unexported (golint)
    • Line 461: warning: exported method QualifiedWildcardSelectItem.WriteTo should have comment or be unexported (golint)
    • Line 465: warning: exported type WildcardSelectItem should have comment or be unexported (golint)
    • Line 470: warning: exported method WildcardSelectItem.Pos should have comment or be unexported (golint)
    • Line 474: warning: exported method WildcardSelectItem.End should have comment or be unexported (golint)
    • Line 478: warning: exported method WildcardSelectItem.ToSQLString should have comment or be unexported (golint)
    • Line 482: warning: exported method WildcardSelectItem.WriteTo should have comment or be unexported (golint)
    • Line 486: warning: exported type CrossJoin should have comment or be unexported (golint)
    • Line 492: warning: exported method CrossJoin.Pos should have comment or be unexported (golint)
    • Line 496: warning: exported method CrossJoin.End should have comment or be unexported (golint)
    • Line 500: warning: exported method CrossJoin.ToSQLString should have comment or be unexported (golint)
    • Line 504: warning: exported method CrossJoin.WriteTo should have comment or be unexported (golint)
    • Line 512: warning: exported type TableJoinElement should have comment or be unexported (golint)
    • Line 517: warning: exported method TableJoinElement.Pos should have comment or be unexported (golint)
    • Line 521: warning: exported method TableJoinElement.End should have comment or be unexported (golint)
    • Line 525: warning: exported method TableJoinElement.ToSQLString should have comment or be unexported (golint)
    • Line 529: warning: exported method TableJoinElement.WriteTo should have comment or be unexported (golint)
    • Line 533: warning: exported type PartitionedJoinTable should have comment or be unexported (golint)
    • Line 541: warning: exported method PartitionedJoinTable.Pos should have comment or be unexported (golint)
    • Line 545: warning: exported method PartitionedJoinTable.End should have comment or be unexported (golint)
    • Line 549: warning: exported method PartitionedJoinTable.ToSQLString should have comment or be unexported (golint)
    • Line 553: warning: exported method PartitionedJoinTable.WriteTo should have comment or be unexported (golint)
    • Line 560: warning: exported type QualifiedJoin should have comment or be unexported (golint)
    • Line 568: warning: exported method QualifiedJoin.Pos should have comment or be unexported (golint)
    • Line 572: warning: exported method QualifiedJoin.End should have comment or be unexported (golint)
    • Line 576: warning: exported method QualifiedJoin.ToSQLString should have comment or be unexported (golint)
    • Line 580: warning: exported method QualifiedJoin.WriteTo should have comment or be unexported (golint)
    • Line 588: warning: exported type NaturalJoin should have comment or be unexported (golint)
    • Line 595: warning: exported method NaturalJoin.Pos should have comment or be unexported (golint)
    • Line 599: warning: exported method NaturalJoin.End should have comment or be unexported (golint)
    • Line 603: warning: exported method NaturalJoin.ToSQLString should have comment or be unexported (golint)
    • Line 607: warning: exported method NaturalJoin.WriteTo should have comment or be unexported (golint)
    • Line 617: warning: exported type NamedColumnsJoin should have comment or be unexported (golint)
    • Line 624: warning: exported method NamedColumnsJoin.Pos should have comment or be unexported (golint)
    • Line 628: warning: exported method NamedColumnsJoin.End should have comment or be unexported (golint)
    • Line 632: warning: exported method NamedColumnsJoin.ToSQLString should have comment or be unexported (golint)
    • Line 636: warning: exported method NamedColumnsJoin.WriteTo should have comment or be unexported (golint)
    • Line 643: warning: exported type JoinCondition should have comment or be unexported (golint)
    • Line 649: warning: exported method JoinCondition.Pos should have comment or be unexported (golint)
    • Line 653: warning: exported method JoinCondition.End should have comment or be unexported (golint)
    • Line 657: warning: exported method JoinCondition.ToSQLString should have comment or be unexported (golint)
    • Line 661: warning: exported method JoinCondition.WriteTo should have comment or be unexported (golint)
    • Line 665: warning: exported type JoinType should have comment or be unexported (golint)
    • Line 670: warning: exported method JoinType.Pos should have comment or be unexported (golint)
    • Line 674: warning: exported method JoinType.End should have comment or be unexported (golint)
    • Line 678: warning: exported type JoinTypeCondition should have comment or be unexported (golint)
    • Line 681: warning: exported const INNER should have comment (or a comment on this block) or be unexported (golint)
    • Line 691: warning: exported method JoinType.ToSQLString should have comment or be unexported (golint)
    • Line 715: warning: exported method JoinType.WriteTo should have comment or be unexported (golint)
    • Line 719: warning: comment on exported type OrderByExpr should be of the form "OrderByExpr ..." (with optional leading article) (golint)
    • Line 726: warning: exported method OrderByExpr.Pos should have comment or be unexported (golint)
    • Line 730: warning: exported method OrderByExpr.End should have comment or be unexported (golint)
    • Line 738: warning: exported method OrderByExpr.ToSQLString should have comment or be unexported (golint)
    • Line 742: warning: exported method OrderByExpr.WriteTo should have comment or be unexported (golint)
    • Line 755: warning: comment on exported type LimitExpr should be of the form "LimitExpr ..." (with optional leading article) (golint)
    • Line 764: warning: exported method LimitExpr.Pos should have comment or be unexported (golint)
    • Line 768: warning: exported method LimitExpr.End should have comment or be unexported (golint)
    • Line 779: warning: exported method LimitExpr.ToSQLString should have comment or be unexported (golint)
    • Line 783: warning: exported method LimitExpr.WriteTo should have comment or be unexported (golint)
    • xsqlparser/sqlast/walk.go
    • Line 7: warning: exported type Visitor should have comment or be unexported (golint)
    • Line 23: warning: exported function Walk should have comment or be unexported (golint)
    • Line 400: warning: exported function Inspect should have comment or be unexported (golint)
    • xsqlparser/dialect/postgres.go
    • Line 3: warning: exported type PostgresqlDialect should have comment or be unexported (golint)
    • Line 6: warning: exported method PostgresqlDialect.IsIdentifierStart should have comment or be unexported (golint)
    • Line 10: warning: exported method PostgresqlDialect.IsIdentifierPart should have comment or be unexported (golint)
    • Line 14: warning: exported method PostgresqlDialect.IsDelimitedIdentifierStart should have comment or be unexported (golint)
    • xsqlparser/sqlast/value.go
    • Line 12: warning: exported type Value should have comment or be unexported (golint)
    • Line 17: warning: exported type LongValue should have comment or be unexported (golint)
    • Line 22: warning: exported function NewLongValue should have comment or be unexported (golint)
    • Line 28: warning: exported method LongValue.Pos should have comment or be unexported (golint)
    • Line 32: warning: exported method LongValue.End should have comment or be unexported (golint)
    • Line 36: warning: exported method LongValue.Value should have comment or be unexported (golint)
    • Line 40: warning: exported method LongValue.ToSQLString should have comment or be unexported (golint)
    • Line 44: warning: exported method LongValue.WriteTo should have comment or be unexported (golint)
    • Line 49: warning: exported type DoubleValue should have comment or be unexported (golint)
    • Line 54: warning: exported function NewDoubleValue should have comment or be unexported (golint)
    • Line 60: warning: exported method DoubleValue.Pos should have comment or be unexported (golint)
    • Line 64: warning: exported method DoubleValue.End should have comment or be unexported (golint)
    • Line 68: warning: exported method DoubleValue.Value should have comment or be unexported (golint)
    • Line 72: warning: exported method DoubleValue.ToSQLString should have comment or be unexported (golint)
    • Line 76: warning: exported method DoubleValue.WriteTo should have comment or be unexported (golint)
    • Line 83: warning: exported type SingleQuotedString should have comment or be unexported (golint)
    • Line 88: warning: exported function NewSingleQuotedString should have comment or be unexported (golint)
    • Line 94: warning: exported method SingleQuotedString.Pos should have comment or be unexported (golint)
    • Line 98: warning: exported method SingleQuotedString.End should have comment or be unexported (golint)
    • Line 102: warning: exported method SingleQuotedString.Value should have comment or be unexported (golint)
    • Line 106: warning: exported method SingleQuotedString.ToSQLString should have comment or be unexported (golint)
    • Line 110: warning: exported method SingleQuotedString.WriteTo should have comment or be unexported (golint)
    • Line 123: warning: exported type NationalStringLiteral should have comment or be unexported (golint)
    • Line 128: warning: exported function NewNationalStringLiteral should have comment or be unexported (golint)
    • Line 134: warning: exported method NationalStringLiteral.Pos should have comment or be unexported (golint)
    • Line 138: warning: exported method NationalStringLiteral.End should have comment or be unexported (golint)
    • Line 142: warning: exported method NationalStringLiteral.Value should have comment or be unexported (golint)
    • Line 146: warning: exported method NationalStringLiteral.ToSQLString should have comment or be unexported (golint)
    • Line 150: warning: exported method NationalStringLiteral.WriteTo should have comment or be unexported (golint)
    • Line 163: warning: exported type BooleanValue should have comment or be unexported (golint)
    • Line 168: warning: exported function NewBooleanValue should have comment or be unexported (golint)
    • Line 174: warning: exported method BooleanValue.Pos should have comment or be unexported (golint)
    • Line 178: warning: exported method BooleanValue.End should have comment or be unexported (golint)
    • Line 182: warning: exported method BooleanValue.Value should have comment or be unexported (golint)
    • Line 186: warning: exported method BooleanValue.ToSQLString should have comment or be unexported (golint)
    • Line 190: warning: exported method BooleanValue.WriteTo should have comment or be unexported (golint)
    • Line 193: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 198: warning: exported type DateValue should have comment or be unexported (golint)
    • Line 203: warning: exported method DateValue.Pos should have comment or be unexported (golint)
    • Line 207: warning: exported method DateValue.End should have comment or be unexported (golint)
    • Line 211: warning: exported method DateValue.Value should have comment or be unexported (golint)
    • Line 215: warning: exported method DateValue.ToSQLString should have comment or be unexported (golint)
    • Line 219: warning: exported method DateValue.WriteTo should have comment or be unexported (golint)
    • Line 226: warning: exported type TimeValue should have comment or be unexported (golint)
    • Line 231: warning: exported function NewTimeValue should have comment or be unexported (golint)
    • Line 237: warning: exported method TimeValue.Pos should have comment or be unexported (golint)
    • Line 241: warning: exported method TimeValue.End should have comment or be unexported (golint)
    • Line 245: warning: exported method TimeValue.Value should have comment or be unexported (golint)
    • Line 249: warning: exported method TimeValue.ToSQLString should have comment or be unexported (golint)
    • Line 253: warning: exported method TimeValue.WriteTo should have comment or be unexported (golint)
    • Line 260: warning: exported type DateTimeValue should have comment or be unexported (golint)
    • Line 265: warning: exported function NewDateTimeValue should have comment or be unexported (golint)
    • Line 271: warning: exported method DateTimeValue.Pos should have comment or be unexported (golint)
    • Line 275: warning: exported method DateTimeValue.End should have comment or be unexported (golint)
    • Line 279: warning: exported method DateTimeValue.Value should have comment or be unexported (golint)
    • Line 283: warning: exported method DateTimeValue.ToSQLString should have comment or be unexported (golint)
    • Line 287: warning: exported method DateTimeValue.WriteTo should have comment or be unexported (golint)
    • Line 294: warning: exported type TimestampValue should have comment or be unexported (golint)
    • Line 299: warning: exported function NewTimestampValue should have comment or be unexported (golint)
    • Line 303: warning: exported method TimestampValue.Pos should have comment or be unexported (golint)
    • Line 307: warning: exported method TimestampValue.End should have comment or be unexported (golint)
    • Line 311: warning: exported method TimestampValue.Value should have comment or be unexported (golint)
    • Line 315: warning: exported method TimestampValue.ToSQLString should have comment or be unexported (golint)
    • Line 319: warning: exported method TimestampValue.WriteTo should have comment or be unexported (golint)
    • Line 326: warning: exported type NullValue should have comment or be unexported (golint)
    • Line 330: warning: exported function NewNullValue should have comment or be unexported (golint)
    • Line 334: warning: exported method NullValue.Pos should have comment or be unexported (golint)
    • Line 338: warning: exported method NullValue.End should have comment or be unexported (golint)
    • Line 342: warning: exported method NullValue.Value should have comment or be unexported (golint)
    • Line 346: warning: exported method NullValue.ToSQLString should have comment or be unexported (golint)
    • Line 350: warning: exported method NullValue.WriteTo should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!