Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S StreamChain Prototype
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • zistvan-public
  • StreamChain Prototype
  • Repository
  • streamchain
  • core
  • policy
  • policy_test.go
Find file Blame History Permalink
  • Matthew Sykes's avatar
    [FAB-11130] add keys to unkeyed struct literals · 6be352ae
    Matthew Sykes authored Jul 11, 2018
    
    
    Use of unkeyed struct literals is flagged as an issue by vet as
    reordering the definition of fields in a struct can be problematic. It's
    also an anti-pattern with respect to "useful" zero values in idiomatic
    go.
    
    Change-Id: I440484a5baf214364b964b157ecbd31df389a59f
    Signed-off-by: default avatarMatthew Sykes <sykesmat@us.ibm.com>
    6be352ae