func (u Uint8) MustGet() uint8 {
	if !u.Present() {
		panic("value not present")
	}
	return *u.value
}
MustGet returns the uint8 value or panics 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
}
func (u Uint8) Get() (uint8, error) {
	if !u.Present() {
		var zero uint8
		return zero, errors.New("value not present")
	}
	return *u.value, nil
}