- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for goEmbed (0.52 sec)
-
src/cmd/go/testdata/script/embed.txt
go build -x -- x.go -- package p import "embed" //go:embed x*t*t var X embed.FS -- x_test.go -- package p import "embed" //go:embed y*t*t var Y string -- x_x_test.go -- package p_test import "embed" //go:embed z*t*t var Z string -- x.go2 -- package p import "embed" //go:embed *t var X embed.FS -- x.go3 -- package p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 18:03:59 UTC 2021 - 2.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/embed_fmt.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 19 20:58:35 UTC 2021 - 348 bytes - Viewed (0) -
src/embed/internal/embedtest/embedx_test.go
concurrency2 = concurrency glass2 = glass sbig2 = sbig bbig2 = bbig ) //go:embed testdata/*.txt var global embed.FS //go:embed c*txt var concurrency string //go:embed testdata/g*.txt var glass []byte //go:embed testdata/ascii.txt var sbig string //go:embed testdata/ascii.txt var bbig []byte func testFiles(t *testing.T, f embed.FS, name, data string) { t.Helper()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 15 20:37:17 UTC 2021 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/noder/noder.go
} p.linknames = append(p.linknames, linkname{pos, f[1], target}) case text == "go:embed", strings.HasPrefix(text, "go:embed "): args, err := parseGoEmbed(text[len("go:embed"):]) if err != nil { p.error(syntax.Error{Pos: pos, Msg: err.Error()}) } if len(args) == 0 { p.error(syntax.Error{Pos: pos, Msg: "usage: //go:embed pattern..."}) break } pragma.Embeds = append(pragma.Embeds, pragmaEmbed{pos, args})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 11 20:40:57 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/embed.go
files, ok := base.Flag.Cfg.Embed.Patterns[pattern] if !ok { base.ErrorfAt(e.Pos, 0, "invalid go:embed: build system did not map pattern: %s", pattern) } for _, file := range files { if base.Flag.Cfg.Embed.Files[file] == "" { base.ErrorfAt(e.Pos, 0, "invalid go:embed: build system did not map file: %s", file) continue } if !have[file] { have[file] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 10 18:22:02 UTC 2023 - 4.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_export_embed.txt
# Regression test for https://go.dev/issue/58885: # 'go list -json=Export' should not fail due to missing go:embed metadata. [short] skip 'runs the compiler to produce export data' go list -json=Export -export . -- go.mod -- module example go 1.20 -- example.go -- package example import _ "embed" //go:embed example.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 22:01:35 UTC 2023 - 340 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_json_fields.txt
module example.com/embed -- embed/embed.go -- package embed import _ "embed" //go:embed non-existing-file.txt var s string -- embed/embed_test.go -- package embed import _ "embed" //go:embed non-existing-file.txt var s string -- embed/embed_xtest_test.go -- package embed_test import _ "embed" //go:embed non-existing-file.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 15:24:16 UTC 2023 - 2.3K bytes - Viewed (0) -
tests/integration/telemetry/tracing/otelcollector/tracing_test.go
"istio.io/istio/pkg/test/framework/resource" "istio.io/istio/pkg/test/util/retry" "istio.io/istio/tests/integration/telemetry/tracing" ) //go:embed testdata/otel-tracing.yaml var otelTracingCfg string //go:embed testdata/otel-tracing-http.yaml var otelTracingHTTPCfg string //go:embed testdata/otel-tracing-res-detectors.yaml var otelTracingResDetectorsCfg string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 22:56:30 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/embed_brackets.txt
# issue 53314 [GOOS:windows] skip cd [pkg] go build -- [pkg]/go.mod -- module m go 1.19 -- [pkg]/x.go -- package p import _ "embed" //go:embed t.txt var S string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 186 bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/third_party/svgpan/svgpan.go
// SVG pan and zoom library. // See copyright notice in string constant below. package svgpan import _ "embed" // https://github.com/aleofreddi/svgpan //go:embed svgpan.js
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 196 bytes - Viewed (0)