()
| 156 | } |
| 157 | |
| 158 | func ExampleGetNowTime() { |
| 159 | result := GetNowTime() |
| 160 | |
| 161 | expected := time.Now().Format("15:04:05") |
| 162 | |
| 163 | fmt.Println(result == expected) |
| 164 | |
| 165 | // Output: |
| 166 | // true |
| 167 | } |
| 168 | |
| 169 | func ExampleGetNowDateTime() { |
| 170 | result := GetNowDateTime() |
nothing calls this directly
no test coverage detected
searching dependent graphs…