Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for RawMessage (0.09 sec)

  1. logger/sql_test.go

    	"encoding/json"
    	"fmt"
    	"regexp"
    	"strings"
    	"testing"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm/logger"
    )
    
    type JSON json.RawMessage
    
    func (j JSON) Value() (driver.Value, error) {
    	if len(j) == 0 {
    		return nil, nil
    	}
    	return json.RawMessage(j).MarshalJSON()
    }
    
    type ExampleStruct struct {
    	Name string
    	Val  string
    }
    
    func (s ExampleStruct) Value() (driver.Value, error) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/debugging/inspect/export.go

    				b = nbuf
    			}
    
    			nVers, v, e := decodeXLHeaders(v)
    			if e != nil {
    				return nil, e
    			}
    			type version struct {
    				Idx      int
    				Header   json.RawMessage
    				Metadata json.RawMessage
    			}
    			versions := make([]version, nVers)
    			e = decodeVersions(v, nVers, func(idx int, hdr, meta []byte) error {
    				var header xlMetaV2VersionHeaderV2
    				if _, e := header.UnmarshalMsg(hdr); e != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  3. api/go1.8.txt

    pkg debug/pe, type Section struct, Relocs []Reloc
    pkg debug/pe, type StringTable []uint8
    pkg encoding/base64, method (Encoding) Strict() *Encoding
    pkg encoding/json, method (RawMessage) MarshalJSON() ([]uint8, error)
    pkg encoding/json, type UnmarshalTypeError struct, Field string
    pkg encoding/json, type UnmarshalTypeError struct, Struct string
    pkg expvar, func Handler() http.Handler
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    					b = nbuf
    				}
    
    				hdr, v, err := decodeXLHeaders(v)
    				if err != nil {
    					return nil, err
    				}
    				type version struct {
    					Idx      int
    					Header   json.RawMessage
    					Metadata json.RawMessage
    				}
    				versions := make([]version, hdr.versions)
    				headerVer := hdr.headerVer
    				err = decodeVersions(v, hdr.versions, func(idx int, hdr, meta []byte) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. api/except.txt

    pkg crypto/tls, type ConnectionState struct, TLSUnique //deprecated
    pkg debug/elf, const R_PPC64_SECTOFF_LO_DS = 61
    pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Jun 16 23:08:08 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    						AccessKey:     user,
    						SecretKey:     acc.Credentials.SecretKey,
    						Groups:        acc.Credentials.Groups,
    						Claims:        claims,
    						SessionPolicy: json.RawMessage(policyJSON),
    						Status:        acc.Credentials.Status,
    						Name:          acc.Credentials.Name,
    						Description:   acc.Credentials.Description,
    						Expiration:    &acc.Credentials.Expiration,
    					},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    					AccessKey:     user,
    					SecretKey:     acc.Credentials.SecretKey,
    					Groups:        acc.Credentials.Groups,
    					Claims:        claims,
    					SessionPolicy: json.RawMessage(policyJSON),
    					Status:        acc.Credentials.Status,
    					Name:          sa.Name,
    					Description:   sa.Description,
    					Expiration:    &sa.Expiration,
    				}
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg encoding/json, method (*InvalidUnmarshalError) Error() string
    pkg encoding/json, method (*MarshalerError) Error() string
    pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)
    pkg encoding/json, method (*RawMessage) UnmarshalJSON([]uint8) error
    pkg encoding/json, method (*SyntaxError) Error() string
    pkg encoding/json, method (*UnmarshalFieldError) Error() string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top