Hunterlong/AuthorizeCIM

View on GitHub
time_references.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function IntervalDays should have comment or be unexported
Open

func IntervalDays(amount string) Interval {
Severity: Minor
Found in time_references.go by golint

exported function Now should have comment or be unexported
Open

func Now() time.Time {
Severity: Minor
Found in time_references.go by golint

exported function IntervalQuarterly should have comment or be unexported
Open

func IntervalQuarterly() Interval {
Severity: Minor
Found in time_references.go by golint

exported function LastWeek should have comment or be unexported
Open

func LastWeek() time.Time {
Severity: Minor
Found in time_references.go by golint

exported function CurrentDate should have comment or be unexported
Open

func CurrentDate() string {
Severity: Minor
Found in time_references.go by golint

exported function IntervalWeekly should have comment or be unexported
Open

func IntervalWeekly() Interval {
Severity: Minor
Found in time_references.go by golint

exported function IntervalMonths should have comment or be unexported
Open

func IntervalMonths(amount string) Interval {
Severity: Minor
Found in time_references.go by golint

exported function IntervalYearly should have comment or be unexported
Open

func IntervalYearly() Interval {
Severity: Minor
Found in time_references.go by golint

exported function LastMonth should have comment or be unexported
Open

func LastMonth() time.Time {
Severity: Minor
Found in time_references.go by golint

don't use underscores in Go names; var current_time should be currentTime
Open

    current_time := time.Now().UTC()
Severity: Minor
Found in time_references.go by golint

exported function LastYear should have comment or be unexported
Open

func LastYear() time.Time {
Severity: Minor
Found in time_references.go by golint

don't use MixedCaps in package name; AuthorizeCIM should be authorizecim
Open

package AuthorizeCIM
Severity: Minor
Found in time_references.go by golint

don't use underscores in Go names; var current_time should be currentTime
Open

    current_time := time.Now().UTC()
Severity: Minor
Found in time_references.go by golint

exported function IntervalMonthly should have comment or be unexported
Open

func IntervalMonthly() Interval {
Severity: Minor
Found in time_references.go by golint

There are no issues that match your filters.

Category
Status