- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for splitGoBuild (0.23 sec)
-
src/go/build/constraint/expr.go
func IsGoBuild(line string) bool { _, ok := splitGoBuild(line) return ok } // splitGoBuild splits apart the leading //go:build prefix in line from the build expression itself. // It returns "", false if the input is not a //go:build line or if the input contains multiple lines. func splitGoBuild(line string) (expr string, ok bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 14.2K bytes - Viewed (0)