Documentation ¶ Index ¶ func DaysBetweenDates(todayDate time.Time, eventDate time.Time) int func InRangeTime(dateStart time.Time, dateEnd time.Time, now time.Time) bool func SetTime(str string, now time.Time) (time.Time, error) func WriteResponse(w http.ResponseWriter, code int, data interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DaysBetweenDates ¶ func DaysBetweenDates(todayDate time.Time, eventDate time.Time) int func InRangeTime ¶ func InRangeTime(dateStart time.Time, dateEnd time.Time, now time.Time) bool func SetTime ¶ func SetTime(str string, now time.Time) (time.Time, error) func WriteResponse ¶ func WriteResponse(w http.ResponseWriter, code int, data interface{}) Types ¶ This section is empty. Source Files ¶ View all Source files utils.go write_response.go Click to show internal directories. Click to hide internal directories.