需要引用外部的庫才可以有各種豐富的功能,即使是時間函數(shù)也是一樣现柠。
package main
import(
"fmt"
"time"
)
func main(){
fmt.Println("Welcome to the cofox ground.")
fmt.Println("The time is", time.Now())
}
想打印院领,就要引用fmt,想打印出時間來够吩,就要引用time了比然。
需要引用外部的庫才可以有各種豐富的功能,即使是時間函數(shù)也是一樣现柠。
package main
import(
"fmt"
"time"
)
func main(){
fmt.Println("Welcome to the cofox ground.")
fmt.Println("The time is", time.Now())
}
想打印院领,就要引用fmt,想打印出時間來够吩,就要引用time了比然。