-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: format variables according to standards
- Loading branch information
Showing
16 changed files
with
483 additions
and
252 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
package sitemap | ||
|
||
// sitemap formatting with syntactic sugar. © Arthur Mingard 2022 | ||
|
||
// BoolStr is a string representation of a boolean. | ||
type BoolStr string | ||
|
||
const ( | ||
// Yes is a truthy string representation. | ||
Yes BoolStr = "yes" | ||
No BoolStr = "no" | ||
// No is a falsy string representation. | ||
No BoolStr = "no" | ||
) |
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
Oops, something went wrong.