Pure Go implementation of UDT