Skip to content

Commit

Permalink
doc(minor): add godoc style comments to token
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedsaheed committed Feb 15, 2024
1 parent 2992be4 commit 97177ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions token/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ type TokenType string

// Token represents a token
type Token struct {
Type TokenType
Literal string
Type TokenType // Type of token
Literal string // Literal value of token
}

const (
Expand Down

0 comments on commit 97177ef

Please sign in to comment.