Create variant.go

just like variant