()
| 167 | } |
| 168 | |
| 169 | func ExampleGetNowDateTime() { |
| 170 | result := GetNowDateTime() |
| 171 | |
| 172 | expected := time.Now().Format("2006-01-02 15:04:05") |
| 173 | |
| 174 | fmt.Println(result == expected) |
| 175 | |
| 176 | // Output: |
| 177 | // true |
| 178 | } |
| 179 | |
| 180 | // func ExampleGetZeroHourTimestamp() { |
| 181 | // ts := GetZeroHourTimestamp() |
nothing calls this directly
no test coverage detected
searching dependent graphs…