- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Tanner (0.34 sec)
-
.github/workflows/reviewdog.yml
name: reviewdog on: [pull_request] jobs: golangci-lint: name: runner / golangci-lint runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: golangci-lint uses: reviewdog/action-golangci-lint@v2 - name: Setup reviewdog uses: reviewdog/action-setup@v1 - name: gofumpt -s with reviewdog env:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Oct 10 06:50:45 UTC 2023 - 664 bytes - Viewed (0) -
schema/field.go
} if valuer, ok := v.(driver.Valuer); ok { v, _ = valuer.Value() } err = fieldValue.Interface().(sql.Scanner).Scan(v) } return } } else if _, ok := fieldValue.Interface().(sql.Scanner); ok { // struct scanner field.Set = func(ctx context.Context, value reflect.Value, v interface{}) (err error) { reflectV := reflect.ValueOf(v) if !reflectV.IsValid() {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
scan.go
sch, _ = schema.Parse(db.Statement.Dest, db.cacheStore, db.NamingStrategy) } if len(columns) == 1 { // Is Pluck if _, ok := reflect.New(reflectValueType).Interface().(sql.Scanner); (reflectValueType != sch.ModelType && ok) || // is scanner reflectValueType.Kind() != reflect.Struct || // is not struct sch.ModelType.ConvertibleTo(schema.TimeReflectType) { // is time sch = nil } } // Not Pluck
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10K bytes - Viewed (0) -
schema/serializer.go
SerializeValuer SerializerValuerInterface Destination reflect.Value Context context.Context value interface{} fieldValue interface{} } // Scan implements sql.Scanner interface func (s *serializer) Scan(value interface{}) error { s.value = value return nil } // Value implements driver.Valuer interface func (s serializer) Value() (driver.Value, error) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 08:28:46 UTC 2024 - 4.6K bytes - Viewed (0) -
.github/workflows/tests.yml
- name: Check out code into the Go module directory uses: actions/checkout@v4 - name: go mod package cache uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }} - name: Tests run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh mysql: strategy: matrix:
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 09:24:34 UTC 2024 - 6.6K bytes - Viewed (0)