github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/kbfs/data/wall_clock.go (about) 1 // Copyright 2016 Keybase Inc. All rights reserved. 2 // Use of this source code is governed by a BSD 3 // license that can be found in the LICENSE file. 4 5 package data 6 7 import "time" 8 9 // WallClock is a wrapper around the built-in clock. 10 type WallClock struct { 11 } 12 13 // Now returns the current wall clock time. 14 func (wc WallClock) Now() time.Time { 15 return time.Now() 16 }