Is it better to use anonymous function or write non-anonymous function for go function?

  golang, question

When writing go, which of the following functions is better and which has better performance?
Mode 1:

package main
 
 import (
 "time"
 "fmt"
 )
 
 func main(){
 var getCurrentTime = func() string{
 return time.Now().Format("2006-01-06 15:04:05")
 }
 fmt.Println(getCurrentTime())
 }

Mode 2:

package main
 
 import (
 "time"
 "fmt"
 )
 
 func main(){
 fmt.Println(getCurrentTime())
 }
 
 func getCurrentTime() string {
 return time.Now().Format("2006-01-06 15:04:05")
 }

Non-anonymous functions (named functions) perform better
Anonymous functions need to reinterpret callbacks every time (interpretation of the word may be inaccurate), but named functions only need to be interpreted once, so performance will be improved, but the performance difference is actually very small, depending on the situation when used.