Documentation ¶
Index ¶
- func BooleanToString(value bool) string
- func CalculateAge(birthDate primitive.DateTime) int
- func Concat(args ...string) string
- func ConcatenateSpecialtiesLabels(specialties []models.Specialty) string
- func ConnectDB() error
- func ErrorResponse(c *fiber.Ctx, statusCode int, message string) error
- func GetCollection(database, collection string) *mongo.Collection
- func GetCurrentDateTime() string
- func ParseDate(date primitive.DateTime) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BooleanToString ¶
func CalculateAge ¶
func ErrorResponse ¶
func GetCollection ¶
func GetCollection(database, collection string) *mongo.Collection
func GetCurrentDateTime ¶
func GetCurrentDateTime() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.