File size: 156 Bytes
fea99b3
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
package convert

import "time"

func TimePtrIn(t *time.Time, loc *time.Location) *time.Time {
	if t == nil {
		return nil
	}
	return ToPointer(t.In(loc))
}