Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cup ¶
type Cup struct {
// contains filtered or unexported fields
}
func NewCup ¶
NewCup creates a cupful of dice with the number of sides equal to sided, and the number of dice equal to amt.
func (Cup) Throw ¶
func (c Cup) Throw() ThrowResult
type MobileLog ¶
type MobileLog struct { EventID string `json:"event_id" faker:"uuid_hyphenated"` RecordedTimestamp time.Time `json:"recorded_timestamp"` CollectedTimestamp time.Time `json:"collected_timestamp"` Application string `json:"application" faker:"oneof: alpha, bravo, charlie, delta, echo, foxtrot"` Version string `json:"application_version" faker:"oneof: v1.0, v1.1, v1.1-ALPHA, v1.1.1"` SystemVersion string `json:"operating_system_version" faker:"oneof: tau, phi, rho, zeta"` DeviceToken string `json:"device_token" faker:"jwt"` Manufacturer string `json:"manufacturer" faker:"oneof: sony, google, nokia, dell"` Category string `json:"category" faker:"oneof: bishop, knight, rook, pawn, quuen, king"` Level int `json:"level" faker:"oneof: 1, 2, 3, 4, 5"` Message string `json:"message" faker:"sentence"` MessageData string `json:"message_data" faker:"paragraph"` }
func MockMobileLog ¶
type ThrowResult ¶
func (ThrowResult) Serialize ¶
func (tr ThrowResult) Serialize() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.