github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/types/null/init.go (about)

     1  package null
     2  
     3  import (
     4  	"github.com/lmorg/murex/lang"
     5  	"github.com/lmorg/murex/lang/stdio"
     6  	"github.com/lmorg/murex/lang/types"
     7  )
     8  
     9  func init() {
    10  	// Register data type
    11  	lang.Marshallers[types.Null] = marshal
    12  	lang.Unmarshallers[types.Null] = unmarshal
    13  	stdio.RegisterWriteArray(types.Null, newArrayWriter)
    14  }