Documentation
¶
Index ¶
- func GenerateMongoURL(tb testing.TB) (string, string)
- func GetTestRouter(t *testing.T) (*fiber.App, *swagger.Router[fiber.Handler, fiber.Router])
- func MongoCollection(t *testing.T, mongoURL, collection, db string) *mongo.Collection
- func RandomString(tb testing.TB, n int) string
- func RemoveMongoID(docs []map[string]any) []map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestRouter ¶ added in v0.2.0
func MongoCollection ¶
func MongoCollection(t *testing.T, mongoURL, collection, db string) *mongo.Collection
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.