user authentication structure in place
This commit is contained in:
12
test/main.go
Normal file
12
test/main.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
now := time.Now()
|
||||
fmt.Println("Now:", now)
|
||||
fmt.Println("Truncated:", now.Truncate(5*time.Minute).Add(5*time.Minute).Sub(now))
|
||||
}
|
||||
Reference in New Issue
Block a user