Quick actions

cmd+k|ctrl+k

Navigation

Languages

Set Pointer time.Time

Snippet info

Language

Go

Visibility

public

Author

ubaidillah.hf

Created

2022-08-23T10:52:06.90698Z

Updated

2022-08-23T10:52:06.90698Z

package main

import (
    "fmt"
    "time"
)

func main() {
    
    var coba *time.Time
    nowTime := time.Now()
    coba = &nowTime
    fmt.Println(coba)
}
INFO