blob: c95f819f43981d3e33b6e6de81d77df68b192c4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package testtype contains types for testing deephash.
package testtype
import "time"
type UnexportedAddressableTime struct {
t time.Time
}
func NewUnexportedAddressableTime(t time.Time) *UnexportedAddressableTime {
return &UnexportedAddressableTime{t: t}
}
|