Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for structtag (0.27 sec)

  1. src/encoding/gob/type.go

    	if w == nil {
    		return unknown
    	}
    	switch {
    	case w.ArrayT != nil:
    		return w.ArrayT.Name
    	case w.SliceT != nil:
    		return w.SliceT.Name
    	case w.StructT != nil:
    		return w.StructT.Name
    	case w.MapT != nil:
    		return w.MapT.Name
    	case w.GobEncoderT != nil:
    		return w.GobEncoderT.Name
    	case w.BinaryMarshalerT != nil:
    		return w.BinaryMarshalerT.Name
    	case w.TextMarshalerT != nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    which becomes an attribute for all the fields in the corresponding
    field declaration. An empty tag string is equivalent to an absent tag.
    The tags are made visible through a <a href="/pkg/reflect/#StructTag">reflection interface</a>
    and take part in <a href="#Type_identity">type identity</a> for structs
    but are otherwise ignored.
    </p>
    
    <pre>
    struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    which becomes an attribute for all the fields in the corresponding
    field declaration. An empty tag string is equivalent to an absent tag.
    The tags are made visible through a <a href="/pkg/reflect/#StructTag">reflection interface</a>
    and take part in <a href="#Type_identity">type identity</a> for structs
    but are otherwise ignored.
    </p>
    
    <pre>
    struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  4. src/encoding/gob/doc.go

    pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType
    description, constructed from these types:
    
    	type wireType struct {
    		ArrayT           *ArrayType
    		SliceT           *SliceType
    		StructT          *StructType
    		MapT             *MapType
    		GobEncoderT      *gobEncoderType
    		BinaryMarshalerT *gobEncoderType
    		TextMarshalerT   *gobEncoderType
    
    	}
    	type arrayType struct {
    		CommonType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    	"-errorsas",
    	// "-httpresponse",
    	"-ifaceassert",
    	// "-lostcancel",
    	// "-methods",
    	"-nilfunc",
    	"-printf",
    	// "-rangeloops",
    	// "-shift",
    	"-slog",
    	"-stringintconv",
    	// "-structtags",
    	// "-tests",
    	// "-unreachable",
    	// "-unsafeptr",
    	// "-unusedresult",
    }
    
    func runTest(ctx context.Context, cmd *base.Command, args []string) {
    	pkgArgs, testArgs = testFlags(args)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top