github.com/m4gshm/gollections@v0.0.13-0.20240331203319-a34a86e58a24/internal/examples/collection/mutable/vector.go (about)

     1  package mutable
     2  
     3  import (
     4  	//
     5  	"github.com/m4gshm/gollections/collection/mutable"
     6  	"github.com/m4gshm/gollections/collection/mutable/vector"
     7  )
     8  
     9  var (
    10  	_ *mutable.Vector[int] = vector.Of(1, 2, 3)
    11  	_ *mutable.Vector[int] = &mutable.Vector[int]{}
    12  )