- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 116 for comments (0.14 sec)
-
cmd/storage-rest-server.go
s.writeErrorResponse(w, err) return } err = s.getStorage().AppendFile(r.Context(), volume, filePath, buf) if err != nil { s.writeErrorResponse(w, err) } } // CreateFileHandler - copy the contents from the request. func (s *storageRESTServer) CreateFileHandler(w http.ResponseWriter, r *http.Request) { if !s.IsValid(w, r) { return } volume := r.Form.Get(storageRESTVolume)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 44.8K bytes - Viewed (0) -
cmd/common-main.go
envEntry = strings.TrimSpace(envEntry) if envEntry == "" { // Skip all empty lines return envKV{ Skip: true, }, nil } if strings.HasPrefix(envEntry, "#") { // Skip commented lines return envKV{ Skip: true, }, nil } envTokens := strings.SplitN(strings.TrimSpace(strings.TrimPrefix(envEntry, "export")), config.EnvSeparator, 2) if len(envTokens) != 2 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2) -
migrator.go
Option() string } // TableType table type interface type TableType interface { Schema() string Name() string Type() string Comment() (comment string, ok bool) } // Migrator migrator interface type Migrator interface { // AutoMigrate AutoMigrate(dst ...interface{}) error // Database CurrentDatabase() string FullDataTypeOf(*schema.Field) clause.Expr
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 3.1K bytes - Viewed (0) -
migrator/column_type.go
func (ct ColumnType) ScanType() reflect.Type { if ct.ScanTypeValue != nil { return ct.ScanTypeValue } return ct.SQLColumnType.ScanType() } // Comment returns the comment of current column. func (ct ColumnType) Comment() (value string, ok bool) { return ct.CommentValue.String, ct.CommentValue.Valid } // DefaultValue returns the default value of current column.
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Mar 24 01:31:58 GMT 2022 - 3.3K bytes - Viewed (0) -
tests/migrate_test.go
} if tableType.Type() != tblType { t.Fatalf("expected table type to be %s but got %s", tblType, tableType.Type()) } comment, ok := tableType.Comment() if !ok || comment != tblComment { t.Fatalf("expected comment %s got %s", tblComment, comment) } } func TestMigrateWithUniqueIndexAndUnique(t *testing.T) { const table = "unique_struct"
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
src/archive/tar/example_test.go
if err != nil { log.Fatal(err) } fmt.Printf("Contents of %s:\n", hdr.Name) if _, err := io.Copy(os.Stdout, tr); err != nil { log.Fatal(err) } fmt.Println() } // Output: // Contents of readme.txt: // This archive contains some text files. // Contents of gopher.txt: // Gopher names: // George // Geoffrey // Gonzo // Contents of todo.txt: // Get animal handling license.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 16 16:54:08 GMT 2017 - 1.4K bytes - Viewed (0) -
operator/cmd/mesh/profile.go
package mesh import ( "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" ) // ProfileCmd is a group of commands related to profile listing, dumping and diffing. func ProfileCmd(_ cli.Context) *cobra.Command { pc := &cobra.Command{ Use: "profile", Short: "Commands related to Istio configuration profiles", Long: "The profile command lists, dumps or diffs Istio configuration profiles.",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.5K bytes - Viewed (0) -
finisher_api.go
tx.Statement.ReflectValue.Set(elem) } tx.Statement.ReflectValue = elem } Scan(rows, tx, ScanInitialized) return tx.Error } // Connection uses a db connection to execute an arbitrary number of commands in fc. When finished, the connection is // returned to the connection pool. func (db *DB) Connection(fc func(tx *DB) error) (err error) { if db.Error != nil { return db.Error } tx := db.getInstance()
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Jan 12 08:42:21 GMT 2024 - 22.7K bytes - Viewed (0) -
istioctl/cmd/root.go
hideInheritedFlags(kubeInjectCmd, cli.FlagNamespace) rootCmd.AddCommand(kubeInjectCmd) experimentalCmd := &cobra.Command{ Use: "experimental", Aliases: []string{"x", "exp"}, Short: "Experimental commands that may be modified or deprecated", } xdsBasedTroubleshooting := []*cobra.Command{ // TODO(hanxiaop): I think experimental version still has issues, so we keep the old version for now.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
cmd/common-main_test.go
Value: "minio123", }, }, }, { ` export MINIO_ROOT_USERminio export MINIO_ROOT_PASSWORD=minio123`, true, nil, }, { ` # simple comment # MINIO_ROOT_USER=minioadmin # MINIO_ROOT_PASSWORD=minioadmin MINIO_ROOT_USER=minio MINIO_ROOT_PASSWORD=minio123`, false, []envKV{ { Key: "MINIO_ROOT_USER", Value: "minio",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.7K bytes - Viewed (0)