- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 226 for Embed0 (0.1 sec)
-
pkg/test/datasets/validation/dataset.go
// See the License for the specific language governing permissions and // limitations under the License. package validation import "embed" // FS embeds the manifests // //go:embed dataset/*
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 03 17:06:22 UTC 2022 - 689 bytes - Viewed (0) -
src/go/build/read_test.go
}, { "package p\nimport \"embed\"\nvar s = \"/*\"\n//go:embed x\nvar files embed.FS", `test:4:12:x`, }, { `package p import "embed" var s = "\"\\\\" //go:embed x var files embed.FS`, `test:4:15:x`, }, { "package p\nimport \"embed\"\nvar s = `/*`\n//go:embed x\nvar files embed.FS", `test:4:12:x`, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 6K bytes - Viewed (0) -
manifests/manifest.go
// See the License for the specific language governing permissions and // limitations under the License. package manifests import ( "embed" "io/fs" "os" ) // FS embeds the manifests // //go:embed all:charts/* profiles/* var FS embed.FS // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in // FS will be used func BuiltinOrDir(dir string) fs.FS {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 15 02:30:16 UTC 2023 - 935 bytes - Viewed (0) -
test/interface/embed1.go
Rémy Oudompheng <******@****.***> 1349901327 +0200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 10 20:35:27 UTC 2012 - 250 bytes - Viewed (0) -
test/interface/embed3.go
Dmitry Vyukov <******@****.***> 1571748917 +0200
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 06 09:09:59 UTC 2019 - 187 bytes - Viewed (0) -
pkg/ctrlz/assets/assets.go
// See the License for the specific language governing permissions and // limitations under the License. package assets import ( "embed" "html/template" ) // FS embeds the templates // //go:embed templates/* static/* var FS embed.FS func ParseTemplate(l *template.Template, name string) *template.Template { b, err := FS.ReadFile(name) if err != nil { panic(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 900 bytes - Viewed (0) -
test/interface/embed2.go
Robert Griesemer <******@****.***> 1606873032 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 03 17:55:56 UTC 2020 - 1.5K bytes - Viewed (0) -
test/fixedbugs/notinheap.go
// license that can be found in the LICENSE file. // Test type-checking errors for go:notinheap. package p //go:notinheap type nih struct{} type embed4 map[nih]int // ERROR "incomplete \(or unallocatable\) map key not allowed" type embed5 map[int]nih // ERROR "incomplete \(or unallocatable\) map value not allowed" type emebd6 chan nih // ERROR "chan of incomplete \(or unallocatable\) type not allowed"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 17:46:15 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
} rf.imports = append(rf.imports, rawImport{path: imp.path, position: fset.Position(imp.pos)}) } rf.cgoDirectives = strings.Join(cgoDirectives, "\n") for _, emb := range info.embeds { rf.embeds = append(rf.embeds, embed{emb.pattern, emb.pos}) } } return p } // extractCgoDirectives filters only the lines containing #cgo directives from the input, // which is the comment on import "C".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/embed/embed.go
// //go:embed image template html/index.html // var content embed.FS // // The difference is that ‘image/*’ embeds ‘image/.tempfile’ while ‘image’ does not. // Neither embeds ‘image/dir/.tempfile’. // // If a pattern begins with the prefix ‘all:’, then the rule for walking directories is changed // to include those files beginning with ‘.’ or ‘_’. For example, ‘all:image’ embeds // both ‘image/.tempfile’ and ‘image/dir/.tempfile’. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:42:51 UTC 2024 - 13.5K bytes - Viewed (0)