Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnitTest = iota + 1 IntegrationTest SmokeTest LoadTest PerformanceTest AcceptenceTest )
Variables ¶
View Source
var ErrTestNotFound = fmt.Errorf("Test not found")
Functions ¶
func DeleteTest ¶
Types ¶
type Test ¶
type Test struct { ID primitive.ObjectID `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Description string `json:"description" bson:"description" validate:"required"` TestType TestType `json:"type" bson:"type" validate:"gte=1,lte10"` //validate:"validateTestType" RunAt time.Time `json:"run" bson:"run"` }
type Tests ¶
type Tests []*Test
Products is a collection of Product
Click to show internal directories.
Click to hide internal directories.