如何在Go中声明时间? [关闭]

I have been walking through the tutorials and know how to declare variables but can not find how to declare of variable as type Time.

How Time is declared in Go?

You will find plenty of example of Time variable declaration in the package time itself, as in the Duration example

 t0 := time.Now()

This is using the "short variable declaration", which is a shorthand for a regular variable declaration with initializer expressions but no types.