Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,405 for Golang (0.03 sec)

  1. schema/naming.go

    package schema
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"regexp"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    )
    
    // Namer namer interface
    type Namer interface {
    	TableName(table string) string
    	SchemaName(table string) string
    	ColumnName(table, column string) string
    	JoinTableName(joinTable string) string
    	RelationshipFKName(Relationship) string
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. cmd/server-rlimit.go

    	}
    
    	// Do not use RLIMIT_AS as that is not useful and at times on systems < 4Gi
    	// this can crash the Go runtime if the value is smaller refer
    	// - https://github.com/golang/go/issues/38010
    	// - https://github.com/golang/go/issues/43699
    	// So do not add `sys.SetMaxMemoryLimit()` this is not useful for any practical purposes.
    	return nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/jwt.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    	"maps"
    	"net/http"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. cmd/warm-backend-gcs.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    
    	"cloud.google.com/go/storage"
    	"github.com/minio/madmin-go/v3"
    	"google.golang.org/api/googleapi"
    	"google.golang.org/api/iterator"
    	"google.golang.org/api/option"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    type warmBackendGCS struct {
    	client       *storage.Client
    	Bucket       string
    	Prefix       string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. cmd/os_unix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"strings"
    	"syscall"
    	"unsafe"
    
    	"github.com/minio/minio/internal/bpool"
    	"golang.org/x/sys/unix"
    )
    
    func access(name string) error {
    	if err := unix.Access(name, unix.F_OK); err != nil {
    		return &os.PathError{Op: "lstat", Path: name, Err: err}
    	}
    	return nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. model.go

    package gorm
    
    import "time"
    
    // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
    // It may be embedded into your model or you may build your own model without it
    //
    //	type User struct {
    //	  gorm.Model
    //	}
    type Model struct {
    	ID        uint `gorm:"primarykey"`
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	DeletedAt DeletedAt `gorm:"index"`
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 396 bytes
    - Viewed (0)
  7. internal/ioutil/discard.go

    // io.Writer implementation alone avoids also unnecessary buffer copies,
    // and as such incurred latencies.
    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    // DiscardReader discarded reader
    func DiscardReader(r io.Reader) {
    	Copy(Discard, r)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 06 22:26:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. .typos.toml

    "pn" = "pn"
    "TestGetPartialObjectMisAligned" = "TestGetPartialObjectMisAligned"
    "thr" = "thr"
    "toi" = "toi"
    
    [type.go]
    extend-ignore-identifiers-re = [
        # Variants of `typ` used to mean `type` in golang as it is otherwise a
        # keyword - some of these (like typ1 -> type1) can be fixed, but probably
        # not worth the effort.
        "[tT]yp[0-9]*",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 03 06:45:06 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. README.md

    ## Install from Source
    
    Use the following commands to compile and run a standalone MinIO server from source.
    If you do not have a working Golang environment, please follow [How to install Golang](https://golang.org/doc/install). Minimum version required is [go1.24](https://golang.org/dl/#stable)
    
    ```sh
    go install github.com/minio/minio@latest
    ```
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Dec 03 08:13:11 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. go.mod

    module gorm.io/gorm
    
    go 1.18
    
    require (
    	github.com/jinzhu/inflection v1.0.0
    	github.com/jinzhu/now v1.1.5
    	golang.org/x/text v0.20.0
    )
    
    require (
    	github.com/mattn/go-sqlite3 v1.14.22 // indirect
    	gorm.io/driver/sqlite v1.6.0 // indirect
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 241 bytes
    - Viewed (0)
Back to top