go packae unix time

package main

import (
	"fmt"
	"time"
)

func unixtime() {
	fmt.Println(time.Now().Unix())
}
Logan Paul