- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 421 for interface (0.05 seconds)
-
generics.go
Rows(ctx context.Context) (*sql.Rows, error) } type JoinBuilder interface { Select(...string) JoinBuilder Omit(...string) JoinBuilder Where(query interface{}, args ...interface{}) JoinBuilder Not(query interface{}, args ...interface{}) JoinBuilder Or(query interface{}, args ...interface{}) JoinBuilder } type PreloadBuilder interface { Select(...string) PreloadBuilder Omit(...string) PreloadBuilder
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
clause/clause.go
// Package clause provides the clause interface and common clause implementations for GORM. package clause // Interface clause interface type Interface interface { Name() string Build(Builder) MergeClause(*Clause) } // ClauseBuilder clause builder, allows to customize how to build clause type ClauseBuilder func(Clause, Builder) type Writer interface { WriteByte(byte) error WriteString(string) (int, error) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 1.8K bytes - Click Count (0) -
logger/logger.go
Info ) // Writer log writer interface type Writer interface { Printf(string, ...interface{}) } // Config logger config type Config struct { SlowThreshold time.Duration Colorful bool IgnoreRecordNotFoundError bool ParameterizedQueries bool LogLevel LogLevel } // Interface logger interface type Interface interface { LogMode(LogLevel) InterfaceCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.3K bytes - Click Count (0) -
migrator/migrator.go
gorm.Dialector } type printSQLLogger struct { logger.Interface } func (l *printSQLLogger) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { sql, _ := fc() fmt.Println(sql + ";") l.Interface.Trace(ctx, begin, fc, err) } // GormDataTypeInterface gorm data type interface type GormDataTypeInterface interface { GormDBDataType(*gorm.DB, *schema.Field) string }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 29.8K bytes - Click Count (0) -
utils/utils_test.go
} func TestToStringKey(t *testing.T) { cases := []struct { values []interface{} key string }{ {[]interface{}{"a"}, "a"}, {[]interface{}{1, 2, 3}, "1_2_3"}, {[]interface{}{1, nil, 3}, "1_nil_3"}, {[]interface{}{[]interface{}{1, 2, 3}}, "[1 2 3]"}, {[]interface{}{[]interface{}{"1", "2", "3"}}, "[1 2 3]"}, {[]interface{}{[]interface{}{"1", nil, "3"}}, "[1 <nil> 3]"}, } for _, c := range cases {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:31:30 GMT 2026 - 5.5K bytes - Click Count (0) -
api/next/70471.txt
pkg hash/maphash, type ComparableHasher[$0 comparable] struct #70471 pkg hash/maphash, type Hasher[$0 interface{}] interface { Equal, Hash } #70471 pkg hash/maphash, type Hasher[$0 interface{}] interface, Equal($0, $0) bool #70471
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Apr 03 15:21:15 GMT 2026 - 456 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces); new ForwardingWrapperTester() .testForwarding( interfaceType, delegate -> { T mock = mock(forwarderClass, CALLS_REAL_METHODS); try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces); new ForwardingWrapperTester() .testForwarding( interfaceType, delegate -> { T mock = mock(forwarderClass, CALLS_REAL_METHODS); try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
``` interface NestedType { Property<String> getSomeProperty() } class Example { @Nested NestedType getNestedProperty() } ``` Otherwise, if the nested type requires an implementation class, you'll need to manage the lifecycle of it: ``` interface NestedType { Property<String> getSomeProperty() void notManaged() }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java
public Iterable<Entry<Class<?>, Impl>> order(List<Entry<Class<?>, Impl>> insertionOrder) { return insertionOrder; } } private interface One {} private interface Two {} private interface Three {} private interface Four {} private interface Five {} static final class Impl implements One, Two, Three, Four, Five, Serializable { final int value; Impl(int value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 2.7K bytes - Click Count (0)