Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RawMessage (0.14 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/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)
  3. 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)
  4. 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)
  5. 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)
Back to top