Skip to content

This commit adds an extension type, datetime, to Cedar Go. #274

This commit adds an extension type, datetime, to Cedar Go.

This commit adds an extension type, datetime, to Cedar Go. #274

Triggered via push September 6, 2024 22:03
Status Failure
Total duration 23s
Artifacts
Fit to window
Zoom out
Zoom in

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)