Simplify composite literals 88/115388/1
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 11 Aug 2020 13:18:38 +0000 (15:18 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 25 Nov 2020 14:55:49 +0000 (15:55 +0100)
commit8ff725b86e98598a4cfcce0f41a5867a17d8a16b
tree70300d64c42977493cb919c1670f7b36ada69e7e
parentb01945987f9a0ab3ac5f4895ffd03c8e975036b4
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>
test/security/sslendpoints/ports/ports_test.go