Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62947

Remove the mention of redundant type information `common.Constant`

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • eventing
    • 0

    Description

      Carrying forward the discussion on the Gerrit thread (link). For every occurrence of the slice []common.Constant, we can remove the mention of the type information, i.e., common.Constant for each slice element. This change can be done because Go can automatically infer the type of the slice elements.

      This change gives us code which is cleaner and easier to read.

       

      Attachments

        Activity

          People

            hiren.bavaskar Hiren Bavaskar
            rishit.chaudhary Rishit Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty