Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fmt (0.12 sec)

  1. internal/grid/README.md

    Sample handler:
    ```go
        handler :=  func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr {
            fmt.Println("Got request with initial payload", p, "from", GetCaller(ctx context.Context))
            fmt.Println("Subroute:", GetSubroute(ctx))
            for {
                select {
                case <-ctx.Done():
                    return nil
                case req, ok := <-in:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. docs/lambda/README.md

    ```go
    package main
    
    import (
    	"context"
    	"log"
    	"net/url"
    	"time"
    	"fmt"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    func main() {
    	s3Client, err := minio.New("localhost:9000", &minio.Options{
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. docs/distributed/DESIGN.md

                    if atTotal > choose && pool.Available > 0 {
                            return pool.Index
                    }
            }
            // Should not happen, but print values just in case.
            panic(fmt.Errorf("reached end of serverPools (total: %v, atTotal: %v, choose: %v)", total, atTotal, choose))
    }
    ```
    
    ## Other usages
    
    ### Advanced use cases with multiple ellipses
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. api/go1.19.txt

    pkg flag, method (*FlagSet) TextVar(encoding.TextUnmarshaler, string, encoding.TextMarshaler, string) #45754
    pkg fmt, func Append([]uint8, ...interface{}) []uint8 #47579
    pkg fmt, func Appendf([]uint8, string, ...interface{}) []uint8 #47579
    pkg fmt, func Appendln([]uint8, ...interface{}) []uint8 #47579
    pkg go/doc, method (*Package) HTML(string) []uint8 #51082
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  5. Makefile.core.mk

    # Target run by the pre-commit script, to automate formatting and lint
    # If pre-commit script is not used, please run this manually.
    precommit: format lint
    
    format: fmt ## Auto formats all code. This should be run before sending a PR.
    
    fmt: format-go format-python tidy-go
    
    ifeq ($(DEBUG),1)
    # gobuild script uses custom linker flag to set the variables.
    RELEASE_LDFLAGS=''
    else
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    package main
    
    // Import Go and NATS packages
    import (
     "fmt"
     "runtime"
    
     "github.com/nats-io/stan.go"
    )
    
    func main() {
    
     var stanConnection stan.Conn
    
     subscribe := func() {
      fmt.Printf("Subscribing to subject 'bucketevents'\n")
      stanConnection.Subscribe("bucketevents", func(m *stan.Msg) {
    
       // Handle the message
       fmt.Printf("Received a message: %s\n", string(m.Data))
      })
     }
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  7. CHANGELOG/CHANGELOG-1.25.md

    - github.com/golang/snappy: [v0.0.3](https://github.com/golang/snappy/tree/v0.0.3)
    - github.com/golangplus/bytes: [v1.0.0](https://github.com/golangplus/bytes/tree/v1.0.0)
    - github.com/golangplus/fmt: [v1.0.0](https://github.com/golangplus/fmt/tree/v1.0.0)
    - github.com/onsi/ginkgo/v2: [v2.1.4](https://github.com/onsi/ginkgo/v2/tree/v2.1.4)
    - go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful: v0.20.0
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Nov 16 11:30:31 GMT 2023
    - 419K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.21.md

    - github.com/docker/spdystream: [449fdfc](https://github.com/docker/spdystream/tree/449fdfc)
    - github.com/golangplus/bytes: [45c989f](https://github.com/golangplus/bytes/tree/45c989f)
    - github.com/golangplus/fmt: [2a5d6d7](https://github.com/golangplus/fmt/tree/2a5d6d7)
    - github.com/gorilla/context: [v1.1.1](https://github.com/gorilla/context/tree/v1.1.1)
    - github.com/kr/pty: [v1.1.5](https://github.com/kr/pty/tree/v1.1.5)
    - rsc.io/quote/v3: v3.1.0
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Viewed (4)
  9. api/go1.20.txt

    pkg debug/pe, const IMAGE_FILE_MACHINE_RISCV64 ideal-int #54251
    pkg encoding/xml, method (*Encoder) Close() error #53346
    pkg errors, func Join(...error) error #53435
    pkg fmt, func FormatString(State, int32) string #51668
    pkg go/ast, type File struct, FileEnd token.Pos #53202
    pkg go/ast, type File struct, FileStart token.Pos #53202
    pkg go/ast, type RangeStmt struct, Range token.Pos #50429
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top