Preparing report...

Report for github.com/wondenge/go-fineract

A+    Excellent!    Found 71 issues across 1308 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo96%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • go-fineract/pkg/recurring_deposit_account.go
    • Line 760: warning: cyclomatic complexity 22 of function (*RecurringDepositAccountApiService).RetrieveAll30() is high (> 15) (gocyclo)
    • Line 1070: warning: cyclomatic complexity 20 of function (*RecurringDepositAccountApiService).Template13() is high (> 15) (gocyclo)
    • Line 638: warning: cyclomatic complexity 20 of function (*RecurringDepositAccountApiService).PostRecurringDepositTransactionsTemplate() is high (> 15) (gocyclo)
    • Line 521: warning: cyclomatic complexity 20 of function (*RecurringDepositAccountApiService).PostRecurringDepositTemplate() is high (> 15) (gocyclo)
    • Line 232: warning: cyclomatic complexity 17 of function (*RecurringDepositAccountApiService).GetRecurringDepositTemplate() is high (> 15) (gocyclo)
    • Line 872: warning: cyclomatic complexity 16 of function (*RecurringDepositAccountApiService).RetrieveOne20() is high (> 15) (gocyclo)
    • go-fineract/pkg/account_transfers.go
    • Line 355: warning: cyclomatic complexity 28 of function (*AccountTransfersApiService).Template5() is high (> 15) (gocyclo)
    • Line 487: warning: cyclomatic complexity 28 of function (*AccountTransfersApiService).TemplateRefundByTransfer() is high (> 15) (gocyclo)
    • Line 136: warning: cyclomatic complexity 26 of function (*AccountTransfersApiService).RetrieveAll17() is high (> 15) (gocyclo)
    • go-fineract/pkg/teller_cash_management.go
    • Line 1389: warning: cyclomatic complexity 22 of function (*TellerCashManagementApiService).GetTransactionsForCashier() is high (> 15) (gocyclo)
    • Line 1511: warning: cyclomatic complexity 22 of function (*TellerCashManagementApiService).GetTransactionsWtihSummaryForCashier() is high (> 15) (gocyclo)
    • Line 1068: warning: cyclomatic complexity 17 of function (*TellerCashManagementApiService).GetJournalData() is high (> 15) (gocyclo)
    • Line 783: warning: cyclomatic complexity 16 of function (*TellerCashManagementApiService).GetCashierData1() is high (> 15) (gocyclo)
    • go-fineract/pkg/centers.go
    • Line 553: warning: cyclomatic complexity 38 of function (*CentersApiService).RetrieveAll22() is high (> 15) (gocyclo)
    • Line 415: warning: cyclomatic complexity 20 of function (*CentersApiService).PostCentersTemplate() is high (> 15) (gocyclo)
    • Line 880: warning: cyclomatic complexity 18 of function (*CentersApiService).RetrieveTemplate6() is high (> 15) (gocyclo)
    • Line 319: warning: cyclomatic complexity 17 of function (*CentersApiService).GetCentersTemplate() is high (> 15) (gocyclo)
    • go-fineract/pkg/self_client.go
    • Line 255: warning: cyclomatic complexity 28 of function (*SelfClientApiService).RetrieveAll35() is high (> 15) (gocyclo)
    • Line 380: warning: cyclomatic complexity 20 of function (*SelfClientApiService).RetrieveAllClientCharges1() is high (> 15) (gocyclo)
    • Line 873: warning: cyclomatic complexity 17 of function (*SelfClientApiService).RetrieveImage() is high (> 15) (gocyclo)
    • Line 491: warning: cyclomatic complexity 16 of function (*SelfClientApiService).RetrieveAllClientTransactions1() is high (> 15) (gocyclo)
    • go-fineract/pkg/savings_account.go
    • Line 769: warning: cyclomatic complexity 24 of function (*SavingsAccountApiService).RetrieveAll32() is high (> 15) (gocyclo)
    • Line 528: warning: cyclomatic complexity 20 of function (*SavingsAccountApiService).PostSavingsTemplate() is high (> 15) (gocyclo)
    • Line 1187: warning: cyclomatic complexity 20 of function (*SavingsAccountApiService).Template14() is high (> 15) (gocyclo)
    • Line 645: warning: cyclomatic complexity 20 of function (*SavingsAccountApiService).PostSavingsTransactionTemplate() is high (> 15) (gocyclo)
    • Line 126: warning: cyclomatic complexity 17 of function (*SavingsAccountApiService).GetSavingsTemplate() is high (> 15) (gocyclo)
    • Line 414: warning: cyclomatic complexity 17 of function (*SavingsAccountApiService).HandleGSIMCommands() is high (> 15) (gocyclo)
    • Line 884: warning: cyclomatic complexity 16 of function (*SavingsAccountApiService).RetrieveOne23() is high (> 15) (gocyclo)
    • go-fineract/pkg/documents.go
    • Line 42: warning: cyclomatic complexity 21 of function (*DocumentsApiService).CreateDocument() is high (> 15) (gocyclo)
    • Line 534: warning: cyclomatic complexity 21 of function (*DocumentsApiService).UpdateDocument() is high (> 15) (gocyclo)
    • go-fineract/pkg/users.go
    • Line 312: warning: cyclomatic complexity 20 of function (*UsersApiService).PostUsersTemplate() is high (> 15) (gocyclo)
    • Line 216: warning: cyclomatic complexity 17 of function (*UsersApiService).GetUserTemplate() is high (> 15) (gocyclo)
    • go-fineract/pkg/self_savings_account.go
    • Line 644: warning: cyclomatic complexity 17 of function (*SelfSavingsAccountApiService).Template18() is high (> 15) (gocyclo)
    • Line 534: warning: cyclomatic complexity 17 of function (*SelfSavingsAccountApiService).SubmitSavingsAccountApplication() is high (> 15) (gocyclo)
    • Line 36: warning: cyclomatic complexity 17 of function (*SelfSavingsAccountApiService).ModifySavingsAccountApplication() is high (> 15) (gocyclo)
    • go-fineract/pkg/journal_entries.go
    • Line 597: warning: cyclomatic complexity 46 of function (*JournalEntriesApiService).RetrieveAll1() is high (> 15) (gocyclo)
    • Line 346: warning: cyclomatic complexity 20 of function (*JournalEntriesApiService).PostJournalEntriesTemplate() is high (> 15) (gocyclo)
    • Line 745: warning: cyclomatic complexity 19 of function (*JournalEntriesApiService).RetrieveJournalEntries() is high (> 15) (gocyclo)
    • Line 145: warning: cyclomatic complexity 17 of function (*JournalEntriesApiService).CreateReversalJournalEntry() is high (> 15) (gocyclo)
    • Line 36: warning: cyclomatic complexity 17 of function (*JournalEntriesApiService).CreateGLJournalEntry() is high (> 15) (gocyclo)
    • Line 856: warning: cyclomatic complexity 17 of function (*JournalEntriesApiService).RetrieveOpeningBalance() is high (> 15) (gocyclo)
    • Line 463: warning: cyclomatic complexity 16 of function (*JournalEntriesApiService).RetreiveJournalEntryById() is high (> 15) (gocyclo)
    • go-fineract/pkg/default.go
    • Line 10807: warning: cyclomatic complexity 33 of function (*DefaultApiService).RetrieveAllSmsByStatus() is high (> 15) (gocyclo)
    • Line 10034: warning: cyclomatic complexity 33 of function (*DefaultApiService).RetrieveAllEmailByStatus() is high (> 15) (gocyclo)
    • Line 13556: warning: cyclomatic complexity 23 of function (*DefaultApiService).RetrieveSentEmail() is high (> 15) (gocyclo)
    • Line 11440: warning: cyclomatic complexity 23 of function (*DefaultApiService).RetrieveFailedEmail() is high (> 15) (gocyclo)
    • Line 13135: warning: cyclomatic complexity 23 of function (*DefaultApiService).RetrievePendingEmail() is high (> 15) (gocyclo)
    • Line 9331: warning: cyclomatic complexity 23 of function (*DefaultApiService).RetrieveAll27() is high (> 15) (gocyclo)
    • Line 10266: warning: cyclomatic complexity 22 of function (*DefaultApiService).RetrieveAllEmails1() is high (> 15) (gocyclo)
    • Line 5087: warning: cyclomatic complexity 20 of function (*DefaultApiService).GetAccountTransactions() is high (> 15) (gocyclo)
    • Line 7801: warning: cyclomatic complexity 20 of function (*DefaultApiService).PostGuarantorTemplate() is high (> 15) (gocyclo)
    • Line 10576: warning: cyclomatic complexity 19 of function (*DefaultApiService).RetrieveAllProducts1() is high (> 15) (gocyclo)
    • Line 472: warning: cyclomatic complexity 18 of function (*DefaultApiService).AddNewClientImage1() is high (> 15) (gocyclo)
    • Line 15903: warning: cyclomatic complexity 18 of function (*DefaultApiService).UpdateClientImage1() is high (> 15) (gocyclo)
    • Line 8643: warning: cyclomatic complexity 17 of function (*DefaultApiService).RequestToken() is high (> 15) (gocyclo)
    • Line 16968: warning: cyclomatic complexity 17 of function (*DefaultApiService).UpdateLoanRescheduleRequest() is high (> 15) (gocyclo)
    • Line 7283: warning: cyclomatic complexity 17 of function (*DefaultApiService).LoanReassignmentTemplate() is high (> 15) (gocyclo)
    • Line 7583: warning: cyclomatic complexity 17 of function (*DefaultApiService).PerformMeetingCommands() is high (> 15) (gocyclo)
    • Line 814: warning: cyclomatic complexity 17 of function (*DefaultApiService).AdjustTransaction1() is high (> 15) (gocyclo)
    • Line 14932: warning: cyclomatic complexity 17 of function (*DefaultApiService).Transaction2() is high (> 15) (gocyclo)
    • Line 14819: warning: cyclomatic complexity 17 of function (*DefaultApiService).Transaction() is high (> 15) (gocyclo)
    • Line 4333: warning: cyclomatic complexity 17 of function (*DefaultApiService).DownloadClientImage() is high (> 15) (gocyclo)
    • Line 142: warning: cyclomatic complexity 17 of function (*DefaultApiService).Activate() is high (> 15) (gocyclo)
    • Line 698: warning: cyclomatic complexity 17 of function (*DefaultApiService).AdjustTransaction() is high (> 15) (gocyclo)
    • Line 10471: warning: cyclomatic complexity 16 of function (*DefaultApiService).RetrieveAllProducts() is high (> 15) (gocyclo)
    • go-fineract/pkg/loans.go
    • Line 947: warning: cyclomatic complexity 26 of function (*LoansApiService).RetrieveAll26() is high (> 15) (gocyclo)
    • Line 1381: warning: cyclomatic complexity 24 of function (*LoansApiService).Template10() is high (> 15) (gocyclo)
    • Line 821: warning: cyclomatic complexity 20 of function (*LoansApiService).PostLoanTemplate() is high (> 15) (gocyclo)
    • Line 704: warning: cyclomatic complexity 20 of function (*LoansApiService).PostLoanRepaymentTemplate() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 17 of function (*LoansApiService).GetLoansTemplate() is high (> 15) (gocyclo)
    • go-fineract/pkg/provisioning_entries.go
    • Line 358: warning: cyclomatic complexity 24 of function (*ProvisioningEntriesApiService).RetrieveProviioningEntries() is high (> 15) (gocyclo)
    • Line 140: warning: cyclomatic complexity 17 of function (*ProvisioningEntriesApiService).ModifyProvisioningEntry() is high (> 15) (gocyclo)
    • Line 249: warning: cyclomatic complexity 16 of function (*ProvisioningEntriesApiService).RetrieveAllProvisioningEntries() is high (> 15) (gocyclo)
    • go-fineract/pkg/fixed_deposit_account.go
    • Line 760: warning: cyclomatic complexity 22 of function (*FixedDepositAccountApiService).RetrieveAll28() is high (> 15) (gocyclo)
    • Line 1070: warning: cyclomatic complexity 20 of function (*FixedDepositAccountApiService).Template12() is high (> 15) (gocyclo)
    • Line 638: warning: cyclomatic complexity 20 of function (*FixedDepositAccountApiService).PostFixedDepositTransactionTemplate() is high (> 15) (gocyclo)
    • Line 521: warning: cyclomatic complexity 20 of function (*FixedDepositAccountApiService).PostFixedDepositTemplate() is high (> 15) (gocyclo)
    • Line 232: warning: cyclomatic complexity 17 of function (*FixedDepositAccountApiService).GetFixedDepositTemplate() is high (> 15) (gocyclo)
    • Line 872: warning: cyclomatic complexity 16 of function (*FixedDepositAccountApiService).RetrieveOne17() is high (> 15) (gocyclo)
    • go-fineract/pkg/share_account.go
    • Line 330: warning: cyclomatic complexity 20 of function (*ShareAccountApiService).PostSharedAccountsTemplate() is high (> 15) (gocyclo)
    • Line 542: warning: cyclomatic complexity 16 of function (*ShareAccountApiService).RetrieveAllAccounts1() is high (> 15) (gocyclo)
    • Line 647: warning: cyclomatic complexity 16 of function (*ShareAccountApiService).Template7() is high (> 15) (gocyclo)
    • go-fineract/pkg/staff.go
    • Line 217: warning: cyclomatic complexity 20 of function (*StaffApiService).PostStaffTemplate() is high (> 15) (gocyclo)
    • Line 427: warning: cyclomatic complexity 20 of function (*StaffApiService).RetrieveStaff() is high (> 15) (gocyclo)
    • go-fineract/pkg/standing_instructions.go
    • Line 144: warning: cyclomatic complexity 34 of function (*StandingInstructionsApiService).RetrieveAll18() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 30 of function (*StandingInstructionsApiService).Template6() is high (> 15) (gocyclo)
    • Line 282: warning: cyclomatic complexity 24 of function (*StandingInstructionsApiService).RetrieveOne9() is high (> 15) (gocyclo)
    • Line 536: warning: cyclomatic complexity 17 of function (*StandingInstructionsApiService).Update8() is high (> 15) (gocyclo)
    • go-fineract/pkg/groups.go
    • Line 644: warning: cyclomatic complexity 34 of function (*GroupsApiService).RetrieveAll23() is high (> 15) (gocyclo)
    • Line 995: warning: cyclomatic complexity 22 of function (*GroupsApiService).RetrieveTemplate7() is high (> 15) (gocyclo)
    • Line 420: warning: cyclomatic complexity 20 of function (*GroupsApiService).PostGroupTemplate() is high (> 15) (gocyclo)
    • Line 324: warning: cyclomatic complexity 17 of function (*GroupsApiService).GetGroupsTemplate() is high (> 15) (gocyclo)
    • Line 773: warning: cyclomatic complexity 17 of function (*GroupsApiService).RetrieveGsimAccounts() is high (> 15) (gocyclo)
    • Line 885: warning: cyclomatic complexity 16 of function (*GroupsApiService).RetrieveOne13() is high (> 15) (gocyclo)
    • Line 38: warning: cyclomatic complexity 16 of function (*GroupsApiService).ActivateOrGenerateCollectionSheet() is high (> 15) (gocyclo)
    • go-fineract/pkg/self_dividend.go
    • Line 375: warning: cyclomatic complexity 23 of function (*SelfDividendApiService).RetrieveDividendDetails() is high (> 15) (gocyclo)
    • Line 248: warning: cyclomatic complexity 23 of function (*SelfDividendApiService).RetrieveAll38() is high (> 15) (gocyclo)
    • Line 498: warning: cyclomatic complexity 17 of function (*SelfDividendApiService).UpdateDividendDetail() is high (> 15) (gocyclo)
    • go-fineract/pkg/client.go
    • Line 566: warning: cyclomatic complexity 38 of function (*ClientApiService).RetrieveAll20() is high (> 15) (gocyclo)
    • Line 425: warning: cyclomatic complexity 22 of function (*ClientApiService).PostClientTemplate() is high (> 15) (gocyclo)
    • Line 324: warning: cyclomatic complexity 19 of function (*ClientApiService).GetClientTemplate() is high (> 15) (gocyclo)
    • Line 989: warning: cyclomatic complexity 18 of function (*ClientApiService).RetrieveTemplate5() is high (> 15) (gocyclo)
    • go-fineract/pkg/offices.go
    • Line 212: warning: cyclomatic complexity 20 of function (*OfficesApiService).PostOfficeTemplate() is high (> 15) (gocyclo)
    • Line 507: warning: cyclomatic complexity 18 of function (*OfficesApiService).RetrieveOffices() is high (> 15) (gocyclo)
    • go-fineract/pkg/general_ledger_account.go
    • Line 539: warning: cyclomatic complexity 24 of function (*GeneralLedgerAccountApiService).RetrieveAllAccounts() is high (> 15) (gocyclo)
    • Line 315: warning: cyclomatic complexity 20 of function (*GeneralLedgerAccountApiService).PostGlAccountsTemplate() is high (> 15) (gocyclo)

golint97%

Golint is a linter for Go source code.

    • go-fineract/pkg/optional/uint.go
    • Line 3: warning: exported type Uint should have comment or be unexported (golint)
    • Line 8: warning: exported function NewUint should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Uint.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Uint.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/uint8.go
    • Line 3: warning: exported type Uint8 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewUint8 should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint8.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Uint8.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Uint8.Default should have comment or be unexported (golint)
    • go-fineract/pkg/default.go
    • Line 2164: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 6994: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 10471: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 13246: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 13345: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 13938: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 17297: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • go-fineract/pkg/optional/complex128.go
    • Line 3: warning: exported type Complex128 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewComplex128 should have comment or be unexported (golint)
    • Line 23: warning: exported method Complex128.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Complex128.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Complex128.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/int16.go
    • Line 3: warning: exported type Int16 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewInt16 should have comment or be unexported (golint)
    • Line 23: warning: exported method Int16.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Int16.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Int16.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/int8.go
    • Line 3: warning: exported type Int8 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewInt8 should have comment or be unexported (golint)
    • Line 23: warning: exported method Int8.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Int8.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Int8.Default should have comment or be unexported (golint)
    • go-fineract/pkg/share_account.go
    • Line 29: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 128: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 223: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 330: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 441: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 542: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 647: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 745: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • go-fineract/pkg/optional/float32.go
    • Line 3: warning: exported type Float32 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewFloat32 should have comment or be unexported (golint)
    • Line 23: warning: exported method Float32.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Float32.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Float32.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/int32.go
    • Line 3: warning: exported type Int32 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewInt32 should have comment or be unexported (golint)
    • Line 23: warning: exported method Int32.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Int32.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Int32.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/int64.go
    • Line 3: warning: exported type Int64 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewInt64 should have comment or be unexported (golint)
    • Line 23: warning: exported method Int64.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Int64.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Int64.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/interface.go
    • Line 3: warning: comment on exported type Interface should be of the form "Interface ..." (with optional leading article) (golint)
    • Line 9: warning: exported function NewInterface should have comment or be unexported (golint)
    • Line 24: warning: exported method Interface.IsSet should have comment or be unexported (golint)
    • Line 28: warning: exported method Interface.Value should have comment or be unexported (golint)
    • Line 32: warning: exported method Interface.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/uintptr.go
    • Line 3: warning: exported type Uintptr should have comment or be unexported (golint)
    • Line 8: warning: exported function NewUintptr should have comment or be unexported (golint)
    • Line 23: warning: exported method Uintptr.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Uintptr.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Uintptr.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/complex64.go
    • Line 3: warning: exported type Complex64 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewComplex64 should have comment or be unexported (golint)
    • Line 23: warning: exported method Complex64.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Complex64.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Complex64.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/int.go
    • Line 3: warning: exported type Int should have comment or be unexported (golint)
    • Line 8: warning: exported function NewInt should have comment or be unexported (golint)
    • Line 23: warning: exported method Int.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Int.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Int.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/rune.go
    • Line 3: warning: exported type Rune should have comment or be unexported (golint)
    • Line 8: warning: exported function NewRune should have comment or be unexported (golint)
    • Line 23: warning: exported method Rune.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Rune.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Rune.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/uint32.go
    • Line 3: warning: exported type Uint32 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewUint32 should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint32.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Uint32.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Uint32.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/string.go
    • Line 3: warning: exported type String should have comment or be unexported (golint)
    • Line 8: warning: exported function NewString should have comment or be unexported (golint)
    • Line 23: warning: exported method String.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method String.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method String.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/time.go
    • Line 5: warning: exported type Time should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTime should have comment or be unexported (golint)
    • Line 25: warning: exported method Time.IsSet should have comment or be unexported (golint)
    • Line 29: warning: exported method Time.Value should have comment or be unexported (golint)
    • Line 33: warning: exported method Time.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/uint16.go
    • Line 3: warning: exported type Uint16 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewUint16 should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint16.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Uint16.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Uint16.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/byte.go
    • Line 3: warning: exported type Byte should have comment or be unexported (golint)
    • Line 8: warning: exported function NewByte should have comment or be unexported (golint)
    • Line 23: warning: exported method Byte.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Byte.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Byte.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/uint64.go
    • Line 3: warning: exported type Uint64 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewUint64 should have comment or be unexported (golint)
    • Line 23: warning: exported method Uint64.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Uint64.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Uint64.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/bool.go
    • Line 3: warning: exported type Bool should have comment or be unexported (golint)
    • Line 8: warning: exported function NewBool should have comment or be unexported (golint)
    • Line 23: warning: exported method Bool.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Bool.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Bool.Default should have comment or be unexported (golint)
    • go-fineract/pkg/optional/float64.go
    • Line 3: warning: exported type Float64 should have comment or be unexported (golint)
    • Line 8: warning: exported function NewFloat64 should have comment or be unexported (golint)
    • Line 23: warning: exported method Float64.IsSet should have comment or be unexported (golint)
    • Line 27: warning: exported method Float64.Value should have comment or be unexported (golint)
    • Line 31: warning: exported method Float64.Default should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.

    • go-fineract/pkg/models/office.go
    • Line 4: warning: illegal cycle in declaration of Office (ineffassign)
    • Line 4: warning: Office refers to (ineffassign)
    • Line 4: warning: Office (ineffassign)
    • Line 4: warning: illegal cycle in declaration of Office (ineffassign)
    • Line 4: warning: Office refers to (ineffassign)
    • Line 4: warning: Office (ineffassign)
    • go-fineract/pkg/models/multi_part.go
    • Line 4: warning: illegal cycle in declaration of MultiPart (ineffassign)
    • Line 4: warning: MultiPart refers to (ineffassign)
    • Line 4: warning: MultiPart (ineffassign)
    • Line 4: warning: illegal cycle in declaration of MultiPart (ineffassign)
    • Line 4: warning: MultiPart refers to (ineffassign)
    • Line 4: warning: MultiPart (ineffassign)
    • go-fineract/pkg/models/loan_product.go
    • Line 4: warning: illegal cycle in declaration of LoanProduct (ineffassign)
    • Line 4: warning: LoanProduct refers to (ineffassign)
    • Line 4: warning: LoanProduct (ineffassign)
    • Line 4: warning: illegal cycle in declaration of LoanProduct (ineffassign)
    • Line 4: warning: LoanProduct refers to (ineffassign)
    • Line 4: warning: LoanProduct (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!