Skip to content

Commit

Permalink
typo: code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
woorui committed Oct 9, 2023
1 parent 7ff1b95 commit bc14fb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/frame/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type HandshakeFrame struct {
// AuthPayload is the authentication payload.
AuthPayload string
// Version is used by the source/sfn to communicate their version to the server.
// The version format should follow `https://semver.org`. otherwise, the handshake
// The Version format must follow the `Major.Minor.Patch`. otherwise, the handshake
// will fail. The client‘s MAJOR and MINOR versions should equal to server's,
// otherwise, the zipper will be considered has break-change, the handshake will fail.
Version string
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Version struct {
Patch int
}

// Parse parses a string into a Version.The string format must follow the `Major.Minor.Patch`
// Parse parses a string into a Version. The string format must follow the `Major.Minor.Patch`
// formatting, and the Major, Minor, and Patch components must be numeric. If they are not,
// a parse error will be returned.
func Parse(str string) (*Version, error) {
Expand Down

0 comments on commit bc14fb3

Please sign in to comment.