()
| 145 | } |
| 146 | |
| 147 | func ExampleGetNowDate() { |
| 148 | result := GetNowDate() |
| 149 | |
| 150 | expected := time.Now().Format("2006-01-02") |
| 151 | |
| 152 | fmt.Println(result == expected) |
| 153 | |
| 154 | // Output: |
| 155 | // true |
| 156 | } |
| 157 | |
| 158 | func ExampleGetNowTime() { |
| 159 | result := GetNowTime() |
nothing calls this directly
no test coverage detected
searching dependent graphs…