Skip to content

time: Time should implement the Generator interface from test/quick #7588

@gopherbot

Description

@gopherbot

by ryanslade:

Currently, when trying to call quick.Value on a struct that contains time.Time fields it
panics.

This happens because time.Time has unexported fields and does not implement the
quick.Generator interface.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions