This commit adds an extension type, datetime, to Cedar Go. #274
Annotations
1 error and 3 warnings
lint
issues found
|
lint:
types/datetime.go#L249
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
types/datetime.go#L32
time-naming: var offsetHour is of type time.Duration; don't use unit-specific suffix "Hour" (revive)
|
lint:
types/datetime.go#L160
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
|