func (u Uint8) Get() (uint8, error) {
	if !u.Present() {
		var zero uint8
		return zero, errors.New("value not present")
	}
	return *u.value, nil
}
Get returns the uint8 value or an error if not present.
package optional
import (
	"encoding/json"
	"errors"
)
type Uint8 struct {
	value *uint8
}
func NewUint8(v uint8) Uint8 {
	return Uint8{&v}
}
func (u *Uint8) Set(v uint8) {
	u.value = &v
}