guregu / null

reasonable handling of nullable values
BSD 2-Clause "Simplified" License
1.84k stars 238 forks source link

error while assigning values to some variables. #34

Closed vevsatechnologies closed 4 years ago

vevsatechnologies commented 6 years ago

cannot use value.Network (type string) as type "gopkg.in/volatiletech/null.v6".String in assignment

guregu commented 4 years ago

You need to convert it using string(), this part of the Go language spec and isn't an issue with this package.