# Packages
Package eventstore is a generated protocol buffer package.
# Functions
NewUser instantiates an instance of User, and initializes the embedded aggregate structure.
NewUserFromHistory instantiates a User and applies its event history to derive the currentstate of hte aggregate.
# Structs
User defines a simple domain object that will have methods that support event sourcing.
UserCreated is the event generated when a user struct is first instantiated.
UserFirstNameUpdated is an event generated when the first name is updated.
UserLastNameUpdated is an event generated when the last name is updated.