Reject incomplete speakers at construction #129
Loading…
Reference in a new issue
No description provided.
Delete branch "mike-bot/speaker-init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NewSpeaker(id, name)requires a definedSpeakerIDand a non-emptySpeakerName. Callers read those values throughID()andName(), and useIsInitialized()to distinguish a valid speaker from the zero value. Speaker ID0remains valid. Transcripts reject uninitialized speakers.Speaker fixtures use
testutil.MustCreate2, a generic test helper for two-argument constructors.Reject incomplete speakers at constructionto WIP: Reject incomplete speakers at constructionWIP: Reject incomplete speakers at constructionto Reject incomplete speakers at construction