UnixToTime transform Unix time to local Time
(tt int64)
| 204 | |
| 205 | // UnixToTime transform Unix time to local Time |
| 206 | func UnixToTime(tt int64) time.Time { |
| 207 | return time.Unix(tt, 0) |
| 208 | } |
| 209 | |
| 210 | // TimeToUnixLocation transform time to Unix time with time location |
| 211 | // location like "Asia/Shanghai" |
no outgoing calls
no test coverage detected
searching dependent graphs…