github.com/tencent/goom@v1.0.1/internal/patch/generics_20.go (about)

     1  //go:build go1.20
     2  // +build go1.20
     3  
     4  package patch
     5  
     6  import (
     7  	"strings"
     8  )
     9  
    10  // IsGenericsFunc 是否为泛型函数
    11  func IsGenericsFunc(name string) bool {
    12  	return strings.Contains(name, "[...]")
    13  }