Simplify composite literals 17/115417/1
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 11 Aug 2020 13:18:38 +0000 (15:18 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 26 Nov 2020 07:49:24 +0000 (07:49 +0000)
commit8eda063927890af160fe343b0a16bb52b1f8510b
treebd01b84846a7f867319123e04d2a2a2172169f45
parentb338e25b0c496339d247402c1316f8e99c320fe6
Simplify composite literals

Utility "gopls" used to analyse Go source did not support code
simplifications as of writing "sslendpoints" tool [1].

Simplifying composite literals is now supported [2].

[1] https://github.com/golang/go/issues/37221
[2] https://github.com/golang/tools/commit/e428a8eca3e395a1b415fd3aee1610aabb61b8b5

Issue-ID: SECCOM-261
Change-Id: I757ff8aefed4c7653f3992f9c1b7b0f3e6c10ea3
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
(cherry picked from commit 8ff725b86e98598a4cfcce0f41a5867a17d8a16b)
test/security/sslendpoints/ports/ports_test.go