-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
up: com, str - add some consts and add some tests
- Loading branch information
Showing
3 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package comdef | ||
|
||
const ( | ||
// CommaStr const define | ||
CommaStr = "," | ||
// CommaChar define | ||
CommaChar = ',' | ||
|
||
// EqualStr define | ||
EqualStr = "=" | ||
// EqualChar define | ||
EqualChar = '=' | ||
|
||
// ColonStr define | ||
ColonStr = ":" | ||
// ColonChar define | ||
ColonChar = ':' | ||
|
||
// SemicolonStr semicolon define | ||
SemicolonStr = ";" | ||
// SemicolonChar define | ||
SemicolonChar = ';' | ||
|
||
// PathStr define const | ||
PathStr = "/" | ||
// PathChar define | ||
PathChar = '/' | ||
|
||
// DefaultSep comma string | ||
DefaultSep = "," | ||
|
||
// SpaceChar char | ||
SpaceChar = ' ' | ||
// SpaceStr string | ||
SpaceStr = " " | ||
|
||
// NewlineChar char | ||
NewlineChar = '\n' | ||
// NewlineStr string | ||
NewlineStr = "\n" | ||
) |
This file contains 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