Preparing report...

Report for github.com/hexya-addons/base

A+    Excellent!    Found 19 issues across 30 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!


golint36%

Golint is a linter for Go source code.

    • base/autovacuum.go
    • Line 14: warning: don't use underscores in Go names; func autoVacuum_GCUserLogs should be autoVacuumGCUserLogs (golint)
    • Line 30: warning: don't use underscores in Go names; func autoVacuum_PowerOn should be autoVacuumPowerOn (golint)
    • base/country.go
    • Line 13: warning: don't use underscores in Go names; var fields_CountryGroup should be fieldsCountryGroup (golint)
    • Line 18: warning: don't use underscores in Go names; var fields_CountryState should be fieldsCountryState (golint)
    • Line 26: warning: don't use underscores in Go names; var fields_Country should be fieldsCountry (golint)
    • base/group.go
    • Line 15: warning: don't use underscores in Go names; var fields_Group should be fieldsGroup (golint)
    • Line 20: warning: don't use underscores in Go names; func group_Create should be groupCreate (golint)
    • Line 28: warning: don't use underscores in Go names; func group_Write should be groupWrite (golint)
    • Line 35: warning: don't use underscores in Go names; func group_ReloadGroups should be groupReloadGroups (golint)
    • base/company.go
    • Line 48: warning: don't use underscores in Go names; var fields_Company should be fieldsCompany (golint)
    • Line 85: warning: don't use underscores in Go names; func company_Copy should be companyCopy (golint)
    • Line 96: warning: don't use underscores in Go names; func company_ComputeLogoWeb should be companyComputeLogoWeb (golint)
    • Line 102: warning: don't use underscores in Go names; func company_OnchangeState should be companyOnchangeState (golint)
    • Line 107: warning: don't use underscores in Go names; func company_GetEuro should be companyGetEuro (golint)
    • Line 112: warning: don't use underscores in Go names; func company_OnChangeCountry should be companyOnChangeCountry (golint)
    • Line 121: warning: don't use underscores in Go names; func company_CompanyDefaultGet should be companyCompanyDefaultGet (golint)
    • Line 125: warning: don't use underscores in Go names; func company_Create should be companyCreate (golint)
    • Line 144: warning: don't use underscores in Go names; func company_CheckParent should be companyCheckParent (golint)
    • Line 148: warning: don't use underscores in Go names; func company_SearchByName should be companySearchByName (golint)
    • base/cron.go
    • Line 21: warning: don't use underscores in Go names; var fields_Cron should be fieldsCron (golint)
    • Line 47: warning: don't use underscores in Go names; func cron_CheckParameters should be cronCheckParameters (golint)
    • Line 68: warning: don't use underscores in Go names; func cron_GetFutureCall should be cronGetFutureCall (golint)
    • base/image_mixin.go
    • Line 14: warning: don't use underscores in Go names; var fields_ImageMixin should be fieldsImageMixin (golint)
    • Line 27: warning: don't use underscores in Go names; func imageMixin_ComputeImages should be imageMixinComputeImages (golint)
    • base/lang.go
    • Line 13: warning: don't use underscores in Go names; var fields_Lang should be fieldsLang (golint)
    • base/queue.go
    • Line 39: warning: don't use underscores in Go names; var fields_QueueChannel should be fieldsQueueChannel (golint)
    • Line 44: warning: don't use underscores in Go names; func queueChannel_Unlinnk should be queueChannelUnlinnk (golint)
    • Line 50: warning: don't use underscores in Go names; var fields_QueueJob should be fieldsQueueJob (golint)
    • Line 91: warning: don't use underscores in Go names; func queueJob_CheckParameters should be queueJobCheckParameters (golint)
    • Line 115: warning: don't use underscores in Go names; func queueJob_Run should be queueJobRun (golint)
    • Line 150: warning: don't use underscores in Go names; func queueJob_OnChannel should be queueJobOnChannel (golint)
    • Line 161: warning: don't use underscores in Go names; func queueJob_WithPriority should be queueJobWithPriority (golint)
    • Line 167: warning: don't use underscores in Go names; func queueJob_AfterJob should be queueJobAfterJob (golint)
    • Line 174: warning: don't use underscores in Go names; func commonMixin_Enqueue should be commonMixinEnqueue (golint)
    • base/bank.go
    • Line 29: warning: don't use underscores in Go names; var fields_Bank should be fieldsBank (golint)
    • Line 48: warning: don't use underscores in Go names; func bank_NameGet should be bankNameGet (golint)
    • Line 56: warning: don't use underscores in Go names; func bank_SearchByName should be bankSearchByName (golint)
    • Line 68: warning: don't use underscores in Go names; func bank_OnchangeCountry should be bankOnchangeCountry (golint)
    • Line 77: warning: don't use underscores in Go names; func bank_OnchangeState should be bankOnchangeState (golint)
    • Line 85: warning: don't use underscores in Go names; var fields_BankAccount should be fieldsBankAccount (golint)
    • Line 104: warning: don't use underscores in Go names; func bankAccount_ComputeAccountType should be bankAccountComputeAccountType (golint)
    • Line 109: warning: don't use underscores in Go names; func bankAccount_ComputeSanitizedAccountNumber should be bankAccountComputeSanitizedAccountNumber (golint)
    • Line 113: warning: don't use underscores in Go names; func bankAccount_Search should be bankAccountSearch (golint)
    • base/config_parameter.go
    • Line 27: warning: don't use underscores in Go names; var fields_ConfigParameter should be fieldsConfigParameter (golint)
    • Line 35: warning: don't use underscores in Go names; func configParameter_Init should be configParameterInit (golint)
    • Line 50: warning: don't use underscores in Go names; func configParameter_GetParam should be configParameterGetParam (golint)
    • Line 59: warning: don't use underscores in Go names; func configParameter_SetParam should be configParameterSetParam (golint)
    • Line 79: warning: don't use underscores in Go names; func configParameter_LimitToGroups should be configParameterLimitToGroups (golint)
    • base/config_settings.go
    • Line 19: warning: don't use underscores in Go names; func configSettings_Copy should be configSettingsCopy (golint)
    • Line 23: warning: don't use underscores in Go names; func configSettings_DefaultGet should be configSettingsDefaultGet (golint)
    • Line 84: warning: don't use underscores in Go names; func configSettings_ConfigFields should be configSettingsConfigFields (golint)
    • Line 92: warning: don't use underscores in Go names; func configSettings_GetValues should be configSettingsGetValues (golint)
    • Line 99: warning: don't use underscores in Go names; func configSettings_SetValues should be configSettingsSetValues (golint)
    • Line 129: warning: don't use underscores in Go names; func configSettings_Execute should be configSettingsExecute (golint)
    • Line 142: warning: don't use underscores in Go names; func configSettings_Cancel should be configSettingsCancel (golint)
    • base/currency.go
    • Line 25: warning: don't use underscores in Go names; var fields_CurrencyRate should be fieldsCurrencyRate (golint)
    • Line 32: warning: don't use underscores in Go names; var fields_Currency should be fieldsCurrency (golint)
    • Line 53: warning: don't use underscores in Go names; func currency_ComputeCurrentRate should be currencyComputeCurrentRate (golint)
    • Line 78: warning: don't use underscores in Go names; func currency_ComputeDecimalPlaces should be currencyComputeDecimalPlaces (golint)
    • Line 87: warning: don't use underscores in Go names; func currency_ComputeDate should be currencyComputeDate (golint)
    • Line 96: warning: don't use underscores in Go names; func currency_Round should be currencyRound (golint)
    • Line 115: warning: don't use underscores in Go names; func currency_CompareAmounts should be currencyCompareAmounts (golint)
    • Line 127: warning: don't use underscores in Go names; func currency_IsZero should be currencyIsZero (golint)
    • Line 132: warning: don't use underscores in Go names; func currency_GetConversionRateTo should be currencyGetConversionRateTo (golint)
    • Line 138: warning: don't use underscores in Go names; func currency_Compute should be currencyCompute (golint)
    • Line 157: warning: don't use underscores in Go names; func currency_GetFormatCurrenciesJsFunction should be currencyGetFormatCurrenciesJsFunction (golint)
    • Line 180: warning: don't use underscores in Go names; func currency_SelectCompaniesRates should be currencySelectCompaniesRates (golint)
    • Line 197: warning: don't use underscores in Go names; func currency_SearchByName should be currencySearchByName (golint)
    • base/model_mixin.go
    • Line 14: warning: don't use underscores in Go names; func modelMixin_ToggleActive should be modelMixinToggleActive (golint)
    • Line 28: warning: don't use underscores in Go names; func modelMixin_ActionArchive should be modelMixinActionArchive (golint)
    • Line 40: warning: don't use underscores in Go names; func modelMixin_ActionUnarchive should be modelMixinActionUnarchive (golint)
    • Line 50: warning: don't use underscores in Go names; func modelMixin_Search should be modelMixinSearch (golint)
    • Line 63: warning: don't use underscores in Go names; func modelMixin_SearchAll should be modelMixinSearchAll (golint)
    • base/attachment.go
    • Line 30: warning: don't use underscores in Go names; var fields_Attachment should be fieldsAttachment (golint)
    • Line 61: warning: don't use underscores in Go names; func attachment_ComputeResName should be attachmentComputeResName (golint)
    • Line 71: warning: don't use underscores in Go names; func attachment_Storage should be attachmentStorage (golint)
    • Line 76: warning: don't use underscores in Go names; func attachment_FileStore should be attachmentFileStore (golint)
    • Line 81: warning: don't use underscores in Go names; func attachment_ForceStorage should be attachmentForceStorage (golint)
    • Line 99: warning: don't use underscores in Go names; func attachment_FullPath should be attachmentFullPath (golint)
    • Line 105: warning: don't use underscores in Go names; func attachment_GetPath should be attachmentGetPath (golint)
    • Line 116: warning: don't use underscores in Go names; func attachment_FileRead should be attachmentFileRead (golint)
    • Line 137: warning: don't use underscores in Go names; func attachment_FileWrite should be attachmentFileWrite (golint)
    • Line 155: warning: don't use underscores in Go names; func attachment_FileDelete should be attachmentFileDelete (golint)
    • Line 160: warning: don't use underscores in Go names; func attachment_MarkForGC should be attachmentMarkForGC (golint)
    • Line 168: warning: don't use underscores in Go names; func attachment_FileGC should be attachmentFileGC (golint)
    • Line 218: warning: don't use underscores in Go names; func attachment_ComputeDatas should be attachmentComputeDatas (golint)
    • Line 230: warning: don't use underscores in Go names; func attachment_InverseDatas should be attachmentInverseDatas (golint)
    • Line 242: warning: don't use underscores in Go names; func attachment_GetDatasRelatedValues should be attachmentGetDatasRelatedValues (golint)
    • Line 265: warning: don't use underscores in Go names; func attachment_ComputeCheckSum should be attachmentComputeCheckSum (golint)
    • Line 270: warning: don't use underscores in Go names; func attachment_ComputeMimeType should be attachmentComputeMimeType (golint)
    • Line 282: warning: don't use underscores in Go names; func attachment_CheckContents should be attachmentCheckContents (golint)
    • Line 297: warning: don't use underscores in Go names; func attachment_Index should be attachmentIndex (golint)
    • Line 315: warning: don't use underscores in Go names; func attachment_GetServingGroups should be attachmentGetServingGroups (golint)
    • Line 321: warning: don't use underscores in Go names; func attachment_CheckServingAttachments should be attachmentCheckServingAttachments (golint)
    • Line 347: warning: don't use underscores in Go names; func attachment_Check should be attachmentCheck (golint)
    • Line 415: warning: don't use underscores in Go names; func attachment_ReadGroupAllowedFields should be attachmentReadGroupAllowedFields (golint)
    • Line 431: warning: don't use underscores in Go names; func attachment_Aggregates should be attachmentAggregates (golint)
    • Line 453: warning: don't use underscores in Go names; func attachment_Search should be attachmentSearch (golint)
    • Line 499: warning: don't use underscores in Go names; func attachment_Load should be attachmentLoad (golint)
    • Line 504: warning: don't use underscores in Go names; func attachment_Write should be attachmentWrite (golint)
    • Line 519: warning: don't use underscores in Go names; func attachment_Copy should be attachmentCopy (golint)
    • Line 524: warning: don't use underscores in Go names; func attachment_Unlink should be attachmentUnlink (golint)
    • Line 544: warning: don't use underscores in Go names; func attachment_Create should be attachmentCreate (golint)
    • Line 556: warning: don't use underscores in Go names; func attachment_PostAddCreate should be attachmentPostAddCreate (golint)
    • Line 560: warning: don't use underscores in Go names; func attachment_GenerateAccessToken should be attachmentGenerateAccessToken (golint)
    • Line 576: warning: don't use underscores in Go names; func attachment_GenerateToken should be attachmentGenerateToken (golint)
    • Line 581: warning: don't use underscores in Go names; func attachment_ActionGet should be attachmentActionGet (golint)
    • Line 586: warning: don't use underscores in Go names; func attachment_GetServeAttachment should be attachmentGetServeAttachment (golint)
    • Line 594: warning: don't use underscores in Go names; func attachment_GetAttachmentByKey should be attachmentGetAttachmentByKey (golint)
    • base/partner.go
    • Line 56: warning: don't use underscores in Go names; var fields_PartnerTitle should be fieldsPartnerTitle (golint)
    • Line 61: warning: don't use underscores in Go names; var fields_PartnerCategory should be fieldsPartnerCategory (golint)
    • Line 74: warning: don't use underscores in Go names; func partnerCategory_CheckParent should be partnerCategoryCheckParent (golint)
    • Line 80: warning: don't use underscores in Go names; func partnerCategory_NAmeGet should be partnerCategoryNAmeGet (golint)
    • Line 92: warning: don't use underscores in Go names; func partnerCategory_SearchByName should be partnerCategorySearchByName (golint)
    • Line 100: warning: don't use underscores in Go names; var fields_Partner should be fieldsPartner (golint)
    • Line 232: warning: don't use underscores in Go names; func partner_ComputeDisplayName should be partnerComputeDisplayName (golint)
    • Line 243: warning: don't use underscores in Go names; func partner_ComputeActiveLangCount should be partnerComputeActiveLangCount (golint)
    • Line 248: warning: don't use underscores in Go names; func partner_ComputeTZOffset should be partnerComputeTZOffset (golint)
    • Line 258: warning: don't use underscores in Go names; func partner_ComputePartnerShare should be partnerComputePartnerShare (golint)
    • Line 273: warning: don't use underscores in Go names; func partner_ComputeSameVATPartner should be partnerComputeSameVATPartner (golint)
    • Line 284: warning: don't use underscores in Go names; func partner_ComputeContactAddress should be partnerComputeContactAddress (golint)
    • Line 290: warning: don't use underscores in Go names; func partner_ComputeCommercialPartner should be partnerComputeCommercialPartner (golint)
    • Line 299: warning: don't use underscores in Go names; func partner_ComputeCommercialCompanyName should be partnerComputeCommercialCompanyName (golint)
    • Line 308: warning: don't use underscores in Go names; func partner_GetDefaultImage should be partnerGetDefaultImage (golint)
    • Line 349: warning: don't use underscores in Go names; func partner_CheckParent should be partnerCheckParent (golint)
    • Line 355: warning: don't use underscores in Go names; func partner_Copy should be partnerCopy (golint)
    • Line 363: warning: don't use underscores in Go names; func partner_OnchangeParent should be partnerOnchangeParent (golint)
    • Line 387: warning: don't use underscores in Go names; func partner_OnchangeParentWarning should be partnerOnchangeParentWarning (golint)
    • Line 399: warning: don't use underscores in Go names; func partner_OnchangeCountryFilters should be partnerOnchangeCountryFilters (golint)
    • Line 409: warning: don't use underscores in Go names; func partner_OnchangeEmail should be partnerOnchangeEmail (golint)
    • Line 417: warning: don't use underscores in Go names; func partner_ComputeEmailFormatted should be partnerComputeEmailFormatted (golint)
    • Line 423: warning: don't use underscores in Go names; func partner_ComputeIsCompany should be partnerComputeIsCompany (golint)
    • Line 432: warning: don't use underscores in Go names; func partner_InverseCompanyType should be partnerInverseCompanyType (golint)
    • Line 437: warning: don't use underscores in Go names; func partner_OnchangeCompanyType should be partnerOnchangeCompanyType (golint)
    • Line 446: warning: don't use underscores in Go names; func partner_UpdateFieldValues should be partnerUpdateFieldValues (golint)
    • Line 460: warning: don't use underscores in Go names; func partner_AddressFields should be partnerAddressFields (golint)
    • Line 469: warning: don't use underscores in Go names; func partner_UpdateAddress should be partnerUpdateAddress (golint)
    • Line 487: warning: don't use underscores in Go names; func partner_CommercialFields should be partnerCommercialFields (golint)
    • Line 496: warning: don't use underscores in Go names; func partner_CommercialSyncFromCompany should be partnerCommercialSyncFromCompany (golint)
    • Line 505: warning: don't use underscores in Go names; func partner_CommercialSyncToChildren should be partnerCommercialSyncToChildren (golint)
    • Line 522: warning: don't use underscores in Go names; func partner_FieldsSync should be partnerFieldsSync (golint)
    • Line 568: warning: don't use underscores in Go names; func partner_HandleFirsrtContactCreation should be partnerHandleFirsrtContactCreation (golint)
    • Line 593: warning: don't use underscores in Go names; func partner_CleanWebsite should be partnerCleanWebsite (golint)
    • Line 604: warning: don't use underscores in Go names; func partner_Write should be partnerWrite (golint)
    • Line 641: warning: don't use underscores in Go names; func partner_Create should be partnerCreate (golint)
    • Line 658: warning: don't use underscores in Go names; func partner_CreateCompany should be partnerCreateCompany (golint)
    • Line 674: warning: don't use underscores in Go names; func partner_OpenCommercialEntity should be partnerOpenCommercialEntity (golint)
    • Line 687: warning: don't use underscores in Go names; func partner_OpenParent should be partnerOpenParent (golint)
    • Line 701: warning: don't use underscores in Go names; func partner_NameGet should be partnerNameGet (golint)
    • Line 732: warning: don't use underscores in Go names; func partner_SearchByName should be partnerSearchByName (golint)
    • Line 752: warning: don't use underscores in Go names; func partner_ParsePartnerName should be partnerParsePartnerName (golint)
    • Line 765: warning: don't use underscores in Go names; func partner_NameCreate should be partnerNameCreate (golint)
    • Line 785: warning: don't use underscores in Go names; func partner_FindOrCreate should be partnerFindOrCreate (golint)
    • Line 798: warning: don't use underscores in Go names; func partner_GetGravatarImage should be partnerGetGravatarImage (golint)
    • Line 822: warning: don't use underscores in Go names; func partner_AddressGet should be partnerAddressGet (golint)
    • Line 872: warning: don't use underscores in Go names; func partner_DisplayAddress should be partnerDisplayAddress (golint)
    • Line 903: warning: don't use underscores in Go names; var fields_PartnerIndustry should be fieldsPartnerIndustry (golint)
    • base/sequence.go
    • Line 40: warning: don't use underscores in Go names; var fields_Sequence should be fieldsSequence (golint)
    • Line 73: warning: don't use underscores in Go names; func sequence_ComputeNumberNextActual should be sequenceComputeNumberNextActual (golint)
    • Line 79: warning: don't use underscores in Go names; func sequence_InverseNumberNextActual should be sequenceInverseNumberNextActual (golint)
    • Line 87: warning: don't use underscores in Go names; func sequence_AlterHexyaSequence should be sequenceAlterHexyaSequence (golint)
    • Line 97: warning: don't use underscores in Go names; func sequence_Create should be sequenceCreate (golint)
    • Line 105: warning: don't use underscores in Go names; func sequence_Unlink should be sequenceUnlink (golint)
    • Line 115: warning: don't use underscores in Go names; func sequence_Write should be sequenceWrite (golint)
    • Line 162: warning: don't use underscores in Go names; func sequence_NextDo should be sequenceNextDo (golint)
    • Line 172: warning: don't use underscores in Go names; func sequence_UpdateNoGap should be sequenceUpdateNoGap (golint)
    • Line 182: warning: don't use underscores in Go names; func sequence_GetNextChar should be sequenceGetNextChar (golint)
    • Line 229: warning: don't use underscores in Go names; func sequence_CreateDateRangeSeq should be sequenceCreateDateRangeSeq (golint)
    • Line 260: warning: don't use underscores in Go names; func sequence_Next should be sequenceNext (golint)
    • Line 282: warning: don't use underscores in Go names; func sequence_NextByID should be sequenceNextByID (golint)
    • Line 294: warning: don't use underscores in Go names; func sequence_NextByCode should be sequenceNextByCode (golint)
    • Line 316: warning: don't use underscores in Go names; var fields_SequenceDateRange should be fieldsSequenceDateRange (golint)
    • Line 331: warning: don't use underscores in Go names; func sequenceDateRange_ComputeNumberNextActual should be sequenceDateRangeComputeNumberNextActual (golint)
    • Line 337: warning: don't use underscores in Go names; func sequenceDateRange_InverseNumberNextActual should be sequenceDateRangeInverseNumberNextActual (golint)
    • Line 345: warning: don't use underscores in Go names; func sequenceDateRange_Next should be sequenceDateRangeNext (golint)
    • Line 354: warning: don't use underscores in Go names; func sequenceDateRange_AlterHexyaSequence should be sequenceDateRangeAlterHexyaSequence (golint)
    • Line 365: warning: don't use underscores in Go names; func sequenceDateRange_Create should be sequenceDateRangeCreate (golint)
    • Line 379: warning: don't use underscores in Go names; func sequenceDateRange_Unlink should be sequenceDateRangeUnlink (golint)
    • Line 389: warning: don't use underscores in Go names; func sequenceDateRange_Write should be sequenceDateRangeWrite (golint)
    • Line 405: warning: don't use underscores in Go names; func sequenceDateRange_UpdateNoGap should be sequenceDateRangeUpdateNoGap (golint)
    • base/translation.go
    • Line 17: warning: don't use underscores in Go names; func translation_TranslateFields should be translationTranslateFields (golint)
    • base/user.go
    • Line 39: warning: don't use underscores in Go names; var fields_UserChangePasswordWizard should be fieldsUserChangePasswordWizard (golint)
    • Line 57: warning: don't use underscores in Go names; func userChangePasswordWizard_ChangePasswordButton should be userChangePasswordWizardChangePasswordButton (golint)
    • Line 63: warning: don't use underscores in Go names; var fields_UserChangePasswordWizardLine should be fieldsUserChangePasswordWizardLine (golint)
    • Line 70: warning: don't use underscores in Go names; var fields_User should be fieldsUser (golint)
    • Line 112: warning: don't use underscores in Go names; func user_SelfReadableFields should be userSelfReadableFields (golint)
    • Line 121: warning: don't use underscores in Go names; func user_SelfWritableFields should be userSelfWritableFields (golint)
    • Line 129: warning: don't use underscores in Go names; func user_Init should be userInit (golint)
    • Line 145: warning: don't use underscores in Go names; func user_InversePassword should be userInversePassword (golint)
    • Line 154: warning: don't use underscores in Go names; func user_HashPassword should be userHashPassword (golint)
    • Line 163: warning: don't use underscores in Go names; func user_CheckCredentials should be userCheckCredentials (golint)
    • Line 177: warning: don't use underscores in Go names; func user_VerifyPassword should be userVerifyPassword (golint)
    • Line 182: warning: don't use underscores in Go names; func user_ComputePassword should be userComputePassword (golint)
    • Line 189: warning: don't use underscores in Go names; func user_InverseNewPassword should be userInverseNewPassword (golint)
    • Line 200: warning: don't use underscores in Go names; func user_ComputeShare should be userComputeShare (golint)
    • Line 205: warning: don't use underscores in Go names; func user_ComputeCompaniesCount should be userComputeCompaniesCount (golint)
    • Line 210: warning: don't use underscores in Go names; func user_ComputeTZOffset should be userComputeTZOffset (golint)
    • Line 220: warning: don't use underscores in Go names; func user_ComputeAccessesCount should be userComputeAccessesCount (golint)
    • Line 227: warning: don't use underscores in Go names; func user_OnchangeLogin should be userOnchangeLogin (golint)
    • Line 235: warning: don't use underscores in Go names; func user_CheckCompany should be userCheckCompany (golint)
    • Line 242: warning: don't use underscores in Go names; func user_CheckActionID should be userCheckActionID (golint)
    • Line 255: warning: don't use underscores in Go names; func user_CheckOneUserType should be userCheckOneUserType (golint)
    • Line 265: warning: don't use underscores in Go names; func user_HasMultipleGroups should be userHasMultipleGroups (golint)
    • Line 289: warning: don't use underscores in Go names; func user_ToggleActive should be userToggleActive (golint)
    • Line 298: warning: don't use underscores in Go names; func user_Read should be userRead (golint)
    • Line 326: warning: don't use underscores in Go names; func user_Search should be userSearch (golint)
    • Line 333: warning: don't use underscores in Go names; func user_Create should be userCreate (golint)
    • Line 342: warning: don't use underscores in Go names; func user_Write should be userWrite (golint)
    • Line 389: warning: don't use underscores in Go names; func user_Unlink should be userUnlink (golint)
    • Line 398: warning: don't use underscores in Go names; func user_SearchByName should be userSearchByName (golint)
    • Line 412: warning: don't use underscores in Go names; func user_Copy should be userCopy (golint)
    • Line 425: warning: don't use underscores in Go names; func user_ContextGet should be userContextGet (golint)
    • Line 436: warning: don't use underscores in Go names; func user_ActionGet should be userActionGet (golint)
    • Line 441: warning: don't use underscores in Go names; func user_UpdateLastLogin should be userUpdateLastLogin (golint)
    • Line 449: warning: don't use underscores in Go names; func user_GetLoginDomain should be userGetLoginDomain (golint)
    • Line 454: warning: don't use underscores in Go names; func user_Authenticate should be userAuthenticate (golint)
    • Line 469: warning: don't use underscores in Go names; func user_GetSessionTokenFields should be userGetSessionTokenFields (golint)
    • Line 479: warning: don't use underscores in Go names; func user_ComputeSessionToken should be userComputeSessionToken (golint)
    • Line 500: warning: don't use underscores in Go names; func user_ChangePassword should be userChangePassword (golint)
    • Line 511: warning: don't use underscores in Go names; func user_PreferenceSave should be userPreferenceSave (golint)
    • Line 519: warning: don't use underscores in Go names; func user_PreferenceChangePassword should be userPreferenceChangePassword (golint)
    • Line 530: warning: don't use underscores in Go names; func user_HasGroup should be userHasGroup (golint)
    • Line 540: warning: don't use underscores in Go names; func user_ActionShowGroups should be userActionShowGroups (golint)
    • Line 560: warning: don't use underscores in Go names; func user_IsPublic should be userIsPublic (golint)
    • Line 566: warning: don't use underscores in Go names; func user_IsSystem should be userIsSystem (golint)
    • Line 572: warning: don't use underscores in Go names; func user_IsAdmin should be userIsAdmin (golint)
    • Line 578: warning: don't use underscores in Go names; func user_IsSuperUser should be userIsSuperUser (golint)
    • Line 584: warning: don't use underscores in Go names; func user_AddMandatoryGroups should be userAddMandatoryGroups (golint)
    • Line 601: warning: don't use underscores in Go names; func user_SyncMemberships should be userSyncMemberships (golint)
    • Line 617: warning: don't use underscores in Go names; func user_CheckGroupSync should be userCheckGroupSync (golint)
    • Line 641: warning: don't use underscores in Go names; func user_GetCompany should be userGetCompany (golint)
    • Line 646: warning: don't use underscores in Go names; func user_GetCompanyCurrency should be userGetCompanyCurrency (golint)
    • Line 651: warning: don't use underscores in Go names; func user_CurrentUser should be userCurrentUser (golint)

gocyclo90%

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.

    • base/user.go
    • Line 342: warning: cyclomatic complexity 16 of function user_Write() is high (> 15) (gocyclo)
    • base/partner.go
    • Line 822: warning: cyclomatic complexity 16 of function partner_AddressGet() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!