Skip to content

extend empty slice #36

@sentriz

Description

@sentriz

I see the empty slice section
https://github.com/quasilyte/go-consistent#empty-map

does it make sense to include a var initialisation too? eg

	a := make([]int, 0)
	b := []int{}
	var c []int

https://play.golang.org/p/oI0oilKpgg7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions