time now unix give me 1970 golang code example
Example: go packae unix time
package main
import (
"fmt"
"time"
)
func unixtime() {
fmt.Println(time.Now().Unix())
}
package main
import (
"fmt"
"time"
)
func unixtime() {
fmt.Println(time.Now().Unix())
}