repo_name stringclasses 2
values | pr_number int64 2.62k 123k | pr_title stringlengths 8 193 | pr_description stringlengths 0 27.9k | author stringlengths 3 23 | date_created timestamp[ns, tz=UTC] | date_merged timestamp[ns, tz=UTC] | previous_commit stringlengths 40 40 | pr_commit stringlengths 40 40 | query stringlengths 21 28k | filepath stringlengths 7 174 | before_content stringlengths 0 554M | after_content stringlengths 0 554M | label int64 -1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./.git/hooks/pre-merge-commit.sample | #!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
.... | #!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
.... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./binding/binding.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package binding
import "net/http"
// Content-Type MIME of the most common data formats.
const (
MIMEJSON ... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package binding
import "net/http"
// Content-Type MIME of the most common data formats.
const (
MIMEJSON ... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./.git/description | Unnamed repository; edit this file 'description' to name the repository.
| Unnamed repository; edit this file 'description' to name the repository.
| -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./testdata/template/raw.tmpl | Date: {[{.now | formatAsDate}]} | Date: {[{.now | formatAsDate}]} | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./.git/objects/pack/pack-6fe8e468585f639e05261af0171719bb51d0471c.idx | tOc = ^ y 1 R y # 5 J q 3 H ` z 6 N d v = X z 9 P o ; ] y ( C h 8 S t
... | tOc = ^ y 1 R y # 5 J q 3 H ` z 6 N d v = X z 9 P o ; ] y ( C h 8 S t
... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./testdata/protoexample/test.proto | package protoexample;
enum FOO {X=17;};
message Test {
required string label = 1;
optional int32 type = 2[default=77];
repeated int64 reps = 3;
optional group OptionalGroup = 4{
required string RequiredField = 5;
}
}
| package protoexample;
enum FOO {X=17;};
message Test {
required string label = 1;
optional int32 type = 2[default=77];
repeated int64 reps = 3;
optional group OptionalGroup = 4{
required string RequiredField = 5;
}
}
| -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./logger_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"fmt"
"net/http"
"strings"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMod... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"fmt"
"net/http"
"strings"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMod... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./binding/xml_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestXMLBindingBindBody(t *testing.T) {... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestXMLBindingBindBody(t *testing.T) {... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./CONTRIBUTING.md | ## Contributing
- With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
- With pull requests:
- Open your pull request against `master`
- Your pull request should have no ... | ## Contributing
- With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
- With pull requests:
- Open your pull request against `master`
- Your pull request should have no ... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./.github/PULL_REQUEST_TEMPLATE.md | - With pull requests:
- Open your pull request against `master`
- Your pull request should have no more than two commits, if not you should squash them.
- It should pass all tests in the available continuous integration systems such as GitHub Actions.
- You should add/modify tests to cover your proposed code ch... | - With pull requests:
- Open your pull request against `master`
- Your pull request should have no more than two commits, if not you should squash them.
- It should pass all tests in the available continuous integration systems such as GitHub Actions.
- You should add/modify tests to cover your proposed code ch... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./utils.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/xml"
"net/http"
"os"
"path"
"reflect"
"runtime"
"strings"
"unicode"
)
// BindKey indicates a default bind key.
c... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/xml"
"net/http"
"os"
"path"
"reflect"
"runtime"
"strings"
"unicode"
)
// BindKey indicates a default bind key.
c... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./context_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"context"
"errors"
"fmt"
"html/template"
"io"
"mime/multipart"
"net"
"net/http"
"net/http/httptest"
"net/url"
"... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"context"
"errors"
"fmt"
"html/template"
"io"
"mime/multipart"
"net"
"net/http"
"net/http/httptest"
"net/url"
"... | -1 |
gin-gonic/gin | 3,474 | docs(readme): release v1.9.0 version | waiting https://github.com/gin-gonic/gin/milestone/21
| thinkerou | 2023-01-17T06:41:35Z | 2023-02-21T09:20:33Z | 4cee78f5382d5245c3652e6c15fee715eec505c3 | ea03e10384502e1baf6f560a2b0ea32c342ede5b | docs(readme): release v1.9.0 version. waiting https://github.com/gin-gonic/gin/milestone/21
| ./internal/json/sonic.go | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build sonic && avx && (linux || windows || darwin) && amd64
// +build sonic
// +build avx
// +build linux windows darwin
// +build amd64
package json
impo... | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build sonic && avx && (linux || windows || darwin) && amd64
// +build sonic
// +build avx
// +build linux windows darwin
// +build amd64
package json
impo... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/yaml.go | // Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"net/http"
"gopkg.in/yaml.v2"
)
type yamlBinding struct{}
func (yamlBinding) Name() string {
return "yaml"
}
func... | // Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"net/http"
"gopkg.in/yaml.v3"
)
type yamlBinding struct{}
func (yamlBinding) Name() string {
return "yaml"
}
func... | 1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./go.mod | module github.com/gin-gonic/gin
go 1.18
require (
github.com/bytedance/sonic v1.6.0
github.com/gin-contrib/sse v0.1.0
github.com/go-playground/validator/v10 v10.11.1
github.com/goccy/go-json v0.10.0
github.com/json-iterator/go v1.1.12
github.com/mattn/go-isatty v0.0.16
github.com/pelletier/go-toml/v2 v2.0.6
g... | module github.com/gin-gonic/gin
go 1.18
require (
github.com/bytedance/sonic v1.6.0
github.com/gin-contrib/sse v0.1.0
github.com/go-playground/validator/v10 v10.11.1
github.com/goccy/go-json v0.10.0
github.com/json-iterator/go v1.1.12
github.com/mattn/go-isatty v0.0.16
github.com/pelletier/go-toml/v2 v2.0.6
g... | 1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./go.sum | github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
github.com/bytedance/sonic v1.6.0 h1:j90DM/Ss1bmySEQYL2U4jRsUjJ+chASzCCZYxohJR60=
github.com/bytedance/sonic v1.6.0/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8... | github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
github.com/bytedance/sonic v1.6.0 h1:j90DM/Ss1bmySEQYL2U4jRsUjJ+chASzCCZYxohJR60=
github.com/bytedance/sonic v1.6.0/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U=
github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8... | 1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/render_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"encoding/xml"
"errors"
"html/template"
"net"
"net/http"
"net/http/httptest"
"strconv"
"strings"
"testing"
testdata "... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"encoding/xml"
"errors"
"html/template"
"net"
"net/http"
"net/http/httptest"
"strconv"
"strings"
"testing"
testdata "... | 1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/yaml.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"net/http"
"gopkg.in/yaml.v2"
)
// YAML contains the given interface object.
type YAML struct {
Data any
}
var yamlContent... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"net/http"
"gopkg.in/yaml.v3"
)
// YAML contains the given interface object.
type YAML struct {
Data any
}
var yamlContent... | 1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/redirect.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"fmt"
"net/http"
)
// Redirect contains the http request reference and redirects status code and location.
type Redirect stru... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"fmt"
"net/http"
)
// Redirect contains the http request reference and redirects status code and location.
type Redirect stru... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/query.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import "net/http"
type queryBinding struct{}
func (queryBinding) Name() string {
return "query"
}
func (queryBinding) Bind(req *http... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import "net/http"
type queryBinding struct{}
func (queryBinding) Name() string {
return "query"
}
func (queryBinding) Bind(req *http... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./debug.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"html/template"
"runtime"
"strconv"
"strings"
)
const ginSupportMinGoVer = 16
// IsDebugging returns true if the frame... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"html/template"
"runtime"
"strconv"
"strings"
)
const ginSupportMinGoVer = 16
// IsDebugging returns true if the frame... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/form_mapping_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"reflect"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestMappingBaseTypes(t *testing.T) {
intPtr := func(i int... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"reflect"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestMappingBaseTypes(t *testing.T) {
intPtr := func(i int... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/form_mapping.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"fmt"
"reflect"
"strconv"
"strings"
"time"
"github.com/gin-gonic/gin/internal/bytesconv"
"github.com/gin-goni... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"fmt"
"reflect"
"strconv"
"strings"
"time"
"github.com/gin-gonic/gin/internal/bytesconv"
"github.com/gin-goni... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/reader.go | // Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"io"
"net/http"
"strconv"
)
// Reader contains the IO reader and its length, and custom ContentType and other headers.
type Reader s... | // Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"io"
"net/http"
"strconv"
)
// Reader contains the IO reader and its length, and custom ContentType and other headers.
type Reader s... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./gin.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"html/template"
"net"
"net/http"
"os"
"path"
"strings"
"sync"
"github.com/gin-gonic/gin/internal/bytesconv"
"githu... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"html/template"
"net"
"net/http"
"os"
"path"
"strings"
"sync"
"github.com/gin-gonic/gin/internal/bytesconv"
"githu... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/xml_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestXMLBindingBindBody(t *testing.T) {... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestXMLBindingBindBody(t *testing.T) {... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/binding_nomsgpack.go | // Copyright 2020 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build nomsgpack
// +build nomsgpack
package binding
import "net/http"
// Content-Type MIME of the most common data formats.
const (
MIMEJSON ... | // Copyright 2020 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build nomsgpack
// +build nomsgpack
package binding
import "net/http"
// Content-Type MIME of the most common data formats.
const (
MIMEJSON ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./version.go | // Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
// Version is the current gin framework's version.
const Version = "v1.8.2"
| // Copyright 2018 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
// Version is the current gin framework's version.
const Version = "v1.8.2"
| -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/msgpack.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package render
import (
"net/http"
"github.com/ugorji/go/codec"
)
// Check interface implemented here to... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package render
import (
"net/http"
"github.com/ugorji/go/codec"
)
// Check interface implemented here to... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./routergroup.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"path"
"regexp"
"strings"
)
var (
// regEnLetter matches english letters for http method name
regEnLetter = regex... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"path"
"regexp"
"strings"
)
var (
// regEnLetter matches english letters for http method name
regEnLetter = regex... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/xml.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"encoding/xml"
"net/http"
)
// XML contains the given interface object.
type XML struct {
Data any
}
var xmlContentType = [... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"encoding/xml"
"net/http"
)
// XML contains the given interface object.
type XML struct {
Data any
}
var xmlContentType = [... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/json_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestJSONBindingBindBody(t *testing.T) ... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestJSONBindingBindBody(t *testing.T) ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./internal/bytesconv/bytesconv_test.go | // Copyright 2020 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package bytesconv
import (
"bytes"
"math/rand"
"strings"
"testing"
"time"
)
var testString = "Albert Einstein: Logic will get you from A to B. Imagination... | // Copyright 2020 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package bytesconv
import (
"bytes"
"math/rand"
"strings"
"testing"
"time"
)
var testString = "Albert Einstein: Logic will get you from A to B. Imagination... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./routes_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"testing"
"github.com/stretchr/testify/assert"
)
type header str... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"testing"
"github.com/stretchr/testify/assert"
)
type header str... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./gin_integration_test.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bufio"
"crypto/tls"
"fmt"
"html/template"
"io"
"net"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"runtime"
"sy... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bufio"
"crypto/tls"
"fmt"
"html/template"
"io"
"net"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"runtime"
"sy... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/multipart_form_mapping_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"mime/multipart"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func TestFormMultipartBindingBindOneF... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"mime/multipart"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func TestFormMultipartBindingBindOneF... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./utils_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"encoding/xml"
"fmt"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMode)
}... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"encoding/xml"
"fmt"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMode)
}... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./auth_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/base64"
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
func TestBasicAuth(t *test... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/base64"
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
func TestBasicAuth(t *test... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/form.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"net/http"
)
const defaultMemory = 32 << 20
type formBinding struct{}
type formPostBinding struct{}
type formMulti... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"net/http"
)
const defaultMemory = 32 << 20
type formBinding struct{}
type formPostBinding struct{}
type formMulti... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./test_helpers.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import "net/http"
// CreateTestContext returns a fresh engine and context for testing purposes
func CreateTestContext(w http.ResponseWriter... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import "net/http"
// CreateTestContext returns a fresh engine and context for testing purposes
func CreateTestContext(w http.ResponseWriter... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./tree.go | // Copyright 2013 Julien Schmidt. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// at https://github.com/julienschmidt/httprouter/blob/master/LICENSE
package gin
import (
"bytes"
"net/url"
"strings"
"unicode"
"unicode/utf8"
"github.com/gin-gonic/gin/intern... | // Copyright 2013 Julien Schmidt. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// at https://github.com/julienschmidt/httprouter/blob/master/LICENSE
package gin
import (
"bytes"
"net/url"
"strings"
"unicode"
"unicode/utf8"
"github.com/gin-gonic/gin/intern... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./debug_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"errors"
"fmt"
"html/template"
"io"
"log"
"os"
"runtime"
"sync"
"testing"
"github.com/stretchr/testify/assert"
... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"errors"
"fmt"
"html/template"
"io"
"log"
"os"
"runtime"
"sync"
"testing"
"github.com/stretchr/testify/assert"
... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./recovery.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"errors"
"fmt"
"io"
"log"
"net"
"net/http"
"net/http/httputil"
"os"
"runtime"
"strings"
"time"
)
var (
dunno ... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"errors"
"fmt"
"io"
"log"
"net"
"net/http"
"net/http/httputil"
"os"
"runtime"
"strings"
"time"
)
var (
dunno ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./response_writer_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
// TODO
// func (w *responseWriter) Hijack() ... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
// TODO
// func (w *responseWriter) Hijack() ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/toml.go | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"net/http"
"github.com/pelletier/go-toml/v2"
)
type tomlBinding struct{}
func (tomlBinding) Name() string {
return... | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"net/http"
"github.com/pelletier/go-toml/v2"
)
type tomlBinding struct{}
func (tomlBinding) Name() string {
return... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/any.go | // Copyright 2021 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package render
type any = interface{}
| // Copyright 2021 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package render
type any = interface{}
| -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./middleware_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"net/http"
"strings"
"testing"
"github.com/gin-contrib/sse"
"github.com/stretchr/testify/assert"
)
func TestMiddle... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"net/http"
"strings"
"testing"
"github.com/gin-contrib/sse"
"github.com/stretchr/testify/assert"
)
func TestMiddle... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/data.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import "net/http"
// Data contains ContentType and bytes data.
type Data struct {
ContentType string
Data []byte
}
// Render (... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import "net/http"
// Data contains ContentType and bytes data.
type Data struct {
ContentType string
Data []byte
}
// Render (... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/toml_test.go | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestTOMLBindingBindBody(t *testing.T) ... | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestTOMLBindingBindBody(t *testing.T) ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.github/ISSUE_TEMPLATE.md | - With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
## Description
<!-- Description of a problem -->
## How to reproduce
<!-- The smallest possible code example to show ... | - With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
## Description
<!-- Description of a problem -->
## How to reproduce
<!-- The smallest possible code example to show ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/json.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"errors"
"io"
"net/http"
"github.com/gin-gonic/gin/internal/json"
)
// EnableDecoderUseNumber is used to call th... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"errors"
"io"
"net/http"
"github.com/gin-gonic/gin/internal/json"
)
// EnableDecoderUseNumber is used to call th... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/msgpack_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package binding
import (
"bytes"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/re... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package binding
import (
"bytes"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/re... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.github/workflows/goreleaser.yml | name: Goreleaser
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v3
... | name: Goreleaser
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v3
... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.goreleaser.yaml | project_name: gin
builds:
-
# If true, skip the build.
# Useful for library projects.
# Default is false
skip: true
changelog:
# Set it to true if you wish to skip the changelog generation.
# This may result in an empty release notes on GitHub/GitLab/Gitea.
skip: false
# Changelog generatio... | project_name: gin
builds:
-
# If true, skip the build.
# Useful for library projects.
# Default is false
skip: true
changelog:
# Set it to true if you wish to skip the changelog generation.
# This may result in an empty release notes on GitHub/GitLab/Gitea.
skip: false
# Changelog generatio... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./binding/any.go | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package binding
type any = interface{}
| // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package binding
type any = interface{}
| -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/render_msgpack_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package render
import (
"bytes"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
"gi... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
// +build !nomsgpack
package render
import (
"bytes"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
"gi... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./render/json.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"bytes"
"fmt"
"html/template"
"net/http"
"github.com/gin-gonic/gin/internal/bytesconv"
"github.com/gin-gonic/gin/internal... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"bytes"
"fmt"
"html/template"
"net/http"
"github.com/gin-gonic/gin/internal/bytesconv"
"github.com/gin-gonic/gin/internal... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./CONTRIBUTING.md | ## Contributing
- With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
- With pull requests:
- Open your pull request against `master`
- Your pull request should have no ... | ## Contributing
- With issues:
- Use the search tool before opening a new issue.
- Please provide source code and commit sha if you found a bug.
- Review existing issues and provide feedback or react to them.
- With pull requests:
- Open your pull request against `master`
- Your pull request should have no ... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.golangci.yml | run:
timeout: 5m
linters:
enable:
- asciicheck
- depguard
- dogsled
- durationcheck
- errcheck
- errorlint
- exportloopref
- gci
- gofmt
- goimports
- gosec
- misspell
- nakedret
- nilerr
- nolintlint
- revive
- wastedassign
issues:
exclude-rules... | run:
timeout: 5m
linters:
enable:
- asciicheck
- depguard
- dogsled
- durationcheck
- errcheck
- errorlint
- exportloopref
- gci
- gofmt
- goimports
- gosec
- misspell
- nakedret
- nilerr
- nolintlint
- revive
- wastedassign
issues:
exclude-rules... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.git/hooks/pre-rebase.sample | #!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $... | #!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.git/hooks/pre-push.sample | #!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of t... | #!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of t... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.git/logs/HEAD | 0000000000000000000000000000000000000000 53fbf4dbfbf465b552057e6f8d199a275151b7a1 jupyter <jupyter@data-collection2-susnato.c.rishabh-experiments.internal> 1705031630 +0000 clone: from https://github.com/gin-gonic/gin.git
53fbf4dbfbf465b552057e6f8d199a275151b7a1 53fbf4dbfbf465b552057e6f8d199a275151b7a1 jupyter <jupyter... | 0000000000000000000000000000000000000000 53fbf4dbfbf465b552057e6f8d199a275151b7a1 jupyter <jupyter@data-collection2-susnato.c.rishabh-experiments.internal> 1705031630 +0000 clone: from https://github.com/gin-gonic/gin.git
53fbf4dbfbf465b552057e6f8d199a275151b7a1 53fbf4dbfbf465b552057e6f8d199a275151b7a1 jupyter <jupyter... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./context.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"io"
"log"
"math"
"mime/multipart"
"net"
"net/http"
"net/url"
"os"
"path/filepath"
"strings"
"sync"
"time"
... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"io"
"log"
"math"
"mime/multipart"
"net"
"net/http"
"net/url"
"os"
"path/filepath"
"strings"
"sync"
"time"
... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./codecov.yml | coverage:
notify:
gitter:
default:
url: https://webhooks.gitter.im/e/d90dcdeeab2f1e357165
| coverage:
notify:
gitter:
default:
url: https://webhooks.gitter.im/e/d90dcdeeab2f1e357165
| -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./.git/config | [core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/gin-gonic/gin.git
fetch = +refs/heads/*:refs/remotes/origin/*
gh-resolved = base
[branch "master"]
remote = origin
merge = refs/heads/master
| [core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://github.com/gin-gonic/gin.git
fetch = +refs/heads/*:refs/remotes/origin/*
gh-resolved = base
[branch "master"]
remote = origin
merge = refs/heads/master
| -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./benchmarks_test.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"html/template"
"net/http"
"os"
"testing"
)
func BenchmarkOneRoute(B *testing.B) {
router := New()
router.GET("/ping", func(... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"html/template"
"net/http"
"os"
"testing"
)
func BenchmarkOneRoute(B *testing.B) {
router := New()
router.GET("/ping", func(... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./recovery_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"fmt"
"net"
"net/http"
"os"
"strings"
"syscall"
"testing"
"github.com/stretchr/testify/assert"
)
func TestPanicC... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"fmt"
"net"
"net/http"
"os"
"strings"
"syscall"
"testing"
"github.com/stretchr/testify/assert"
)
func TestPanicC... | -1 |
gin-gonic/gin | 3,456 | chore(yaml): upgrade dependency to v3 version | about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| thinkerou | 2023-01-02T03:51:43Z | 2023-01-02T04:40:49Z | 7d8fc1563b4e1b4229e61c2fe4c9e31ce13ace7d | c9b27249fbb6092bcc7f749811d73ef1d50eee73 | chore(yaml): upgrade dependency to v3 version. about https://github.com/go-yaml/yaml/issues/865
fixes https://github.com/gin-gonic/gin/issues/3451
fixes https://github.com/gin-gonic/gin/issues/3306
fixes https://github.com/gin-gonic/gin/issues/3362
fixes https://github.com/gin-gonic/gin/issues/2581
| ./internal/json/jsoniter.go | // Copyright 2017 Bo-Yi Wu. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build jsoniter
// +build jsoniter
package json
import jsoniter "github.com/json-iterator/go"
var (
json = jsoniter.ConfigCompatibleWithStandardLibrary
// Ma... | // Copyright 2017 Bo-Yi Wu. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build jsoniter
// +build jsoniter
package json
import jsoniter "github.com/json-iterator/go"
var (
json = jsoniter.ConfigCompatibleWithStandardLibrary
// Ma... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/binding_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"encoding/json"
"errors"
"io"
"io/ioutil"
"mime/multipart"
"net/http"
"os"
"reflect"
"strconv"
"strings"
"t... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"encoding/json"
"errors"
"io"
"mime/multipart"
"net/http"
"os"
"reflect"
"strconv"
"strings"
"testing"
"tim... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/multipart_form_mapping_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io/ioutil"
"mime/multipart"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func TestFormMultipartBindingB... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"io"
"mime/multipart"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func TestFormMultipartBindingBindOneF... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/protobuf.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"io/ioutil"
"net/http"
"google.golang.org/protobuf/proto"
)
type protobufBinding struct{}
func (protobufBinding... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"io"
"net/http"
"google.golang.org/protobuf/proto"
)
type protobufBinding struct{}
func (protobufBinding) Name(... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./context.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"io"
"io/ioutil"
"log"
"math"
"mime/multipart"
"net"
"net/http"
"net/url"
"os"
"path/filepath"
"strings"
"syn... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"errors"
"io"
"log"
"math"
"mime/multipart"
"net"
"net/http"
"net/url"
"os"
"path/filepath"
"strings"
"sync"
"time"
... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./gin_integration_test.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bufio"
"crypto/tls"
"fmt"
"html/template"
"io/ioutil"
"net"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"runtim... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bufio"
"crypto/tls"
"fmt"
"html/template"
"io"
"net"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"runtime"
"sy... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./gin_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"crypto/tls"
"fmt"
"html/template"
"io/ioutil"
"net"
"net/http"
"net/http/httptest"
"reflect"
"strconv"
"sync/atomic"
"t... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"crypto/tls"
"fmt"
"html/template"
"io"
"net"
"net/http"
"net/http/httptest"
"reflect"
"strconv"
"sync/atomic"
"testing"... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./recovery.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"errors"
"fmt"
"io"
"io/ioutil"
"log"
"net"
"net/http"
"net/http/httputil"
"os"
"runtime"
"strings"
"time"
)
... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"errors"
"fmt"
"io"
"log"
"net"
"net/http"
"net/http/httputil"
"os"
"runtime"
"strings"
"time"
)
var (
dunno ... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./routes_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"io/ioutil"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"testing"
"github.com/stretchr/testify/assert"
)
ty... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"fmt"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"testing"
"github.com/stretchr/testify/assert"
)
type header str... | 1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/json.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"errors"
"io"
"net/http"
"github.com/gin-gonic/gin/internal/json"
)
// EnableDecoderUseNumber is used to call th... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"errors"
"io"
"net/http"
"github.com/gin-gonic/gin/internal/json"
)
// EnableDecoderUseNumber is used to call th... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/xml.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"encoding/xml"
"io"
"net/http"
)
type xmlBinding struct{}
func (xmlBinding) Name() string {
return "xml"
}
func... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"bytes"
"encoding/xml"
"io"
"net/http"
)
type xmlBinding struct{}
func (xmlBinding) Name() string {
return "xml"
}
func... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/form_mapping_test.go | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"reflect"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestMappingBaseTypes(t *testing.T) {
intPtr := func(i int... | // Copyright 2019 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"reflect"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestMappingBaseTypes(t *testing.T) {
intPtr := func(i int... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./render/json.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"bytes"
"fmt"
"html/template"
"net/http"
"github.com/gin-gonic/gin/internal/bytesconv"
"github.com/gin-gonic/gin/internal... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"bytes"
"fmt"
"html/template"
"net/http"
"github.com/gin-gonic/gin/internal/bytesconv"
"github.com/gin-gonic/gin/internal... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./render/any.go | // Copyright 2021 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package render
type any = interface{}
| // Copyright 2021 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package render
type any = interface{}
| -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./path.go | // Copyright 2013 Julien Schmidt. All rights reserved.
// Based on the path package, Copyright 2009 The Go Authors.
// Use of this source code is governed by a BSD-style license that can be found
// at https://github.com/julienschmidt/httprouter/blob/master/LICENSE.
package gin
// cleanPath is the URL version of path... | // Copyright 2013 Julien Schmidt. All rights reserved.
// Based on the path package, Copyright 2009 The Go Authors.
// Use of this source code is governed by a BSD-style license that can be found
// at https://github.com/julienschmidt/httprouter/blob/master/LICENSE.
package gin
// cleanPath is the URL version of path... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./render/xml.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"encoding/xml"
"net/http"
)
// XML contains the given interface object.
type XML struct {
Data any
}
var xmlContentType = [... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"encoding/xml"
"net/http"
)
// XML contains the given interface object.
type XML struct {
Data any
}
var xmlContentType = [... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./render/yaml.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"net/http"
"gopkg.in/yaml.v2"
)
// YAML contains the given interface object.
type YAML struct {
Data any
}
var yamlContent... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"net/http"
"gopkg.in/yaml.v2"
)
// YAML contains the given interface object.
type YAML struct {
Data any
}
var yamlContent... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./routergroup_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMode)
}
func TestRouterGroupBasic(t *t... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMode)
}
func TestRouterGroupBasic(t *t... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./routergroup.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"path"
"regexp"
"strings"
)
var (
// regEnLetter matches english letters for http method name
regEnLetter = regex... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"path"
"regexp"
"strings"
)
var (
// regEnLetter matches english letters for http method name
regEnLetter = regex... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./utils.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/xml"
"net/http"
"os"
"path"
"reflect"
"runtime"
"strings"
"unicode"
)
// BindKey indicates a default bind key.
c... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/xml"
"net/http"
"os"
"path"
"reflect"
"runtime"
"strings"
"unicode"
)
// BindKey indicates a default bind key.
c... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./render/render.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import "net/http"
// Render interface is to be implemented by JSON, XML, HTML, YAML and so on.
type Render interface {
// Render writes... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import "net/http"
// Render interface is to be implemented by JSON, XML, HTML, YAML and so on.
type Render interface {
// Render writes... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./githubapi_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"fmt"
"math/rand"
"net/http"
"net/http/httptest"
"os"
"testing"
"github.com/stretchr/testify/assert"
)
type route... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"fmt"
"math/rand"
"net/http"
"net/http/httptest"
"os"
"testing"
"github.com/stretchr/testify/assert"
)
type route... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/toml_test.go | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestTOMLBindingBindBody(t *testing.T) ... | // Copyright 2022 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestTOMLBindingBindBody(t *testing.T) ... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/default_validator.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"fmt"
"reflect"
"strings"
"sync"
"github.com/go-playground/validator/v10"
)
type defaultValidator struct {
once syn... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"fmt"
"reflect"
"strings"
"sync"
"github.com/go-playground/validator/v10"
)
type defaultValidator struct {
once syn... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./render/text.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"fmt"
"net/http"
"github.com/gin-gonic/gin/internal/bytesconv"
)
// String contains the given interface object slice and it... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package render
import (
"fmt"
"net/http"
"github.com/gin-gonic/gin/internal/bytesconv"
)
// String contains the given interface object slice and it... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./tree_test.go | // Copyright 2013 Julien Schmidt. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// at https://github.com/julienschmidt/httprouter/blob/master/LICENSE
package gin
import (
"fmt"
"reflect"
"regexp"
"strings"
"testing"
)
// Used as a workaround since we can't ... | // Copyright 2013 Julien Schmidt. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// at https://github.com/julienschmidt/httprouter/blob/master/LICENSE
package gin
import (
"fmt"
"reflect"
"regexp"
"strings"
"testing"
)
// Used as a workaround since we can't ... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./fs.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"os"
)
type onlyFilesFS struct {
fs http.FileSystem
}
type neuteredReaddirFile struct {
http.File
}
// Dir return... | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"net/http"
"os"
)
type onlyFilesFS struct {
fs http.FileSystem
}
type neuteredReaddirFile struct {
http.File
}
// Dir return... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./binding/default_validator_test.go | // Copyright 2020 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"testing"
)
func TestSliceValidationError(t *testing.T) {
tests := []struct {
name string
err SliceValidationError
... | // Copyright 2020 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package binding
import (
"errors"
"testing"
)
func TestSliceValidationError(t *testing.T) {
tests := []struct {
name string
err SliceValidationError
... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./auth_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/base64"
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
func TestBasicAuth(t *test... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"encoding/base64"
"net/http"
"net/http/httptest"
"testing"
"github.com/stretchr/testify/assert"
)
func TestBasicAuth(t *test... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./deprecated_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"net/http"
"net/http/httptest"
"testing"
"github.com/gin-gonic/gin/binding"
"github.com/stretchr/testify/assert"
)
... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"net/http"
"net/http/httptest"
"testing"
"github.com/gin-gonic/gin/binding"
"github.com/stretchr/testify/assert"
)
... | -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./testdata/protoexample/any.go | // Copyright 2021 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package protoexample
type any = interface{}
| // Copyright 2021 Gin Core Team. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !go1.18
// +build !go1.18
package protoexample
type any = interface{}
| -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./context_appengine.go | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build appengine
// +build appengine
package gin
func init() {
defaultPlatform = PlatformGoogleAppEngine
}
| // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build appengine
// +build appengine
package gin
func init() {
defaultPlatform = PlatformGoogleAppEngine
}
| -1 |
gin-gonic/gin | 3,395 | remove deprecated of package io/ioutil | remove io/ioutil | 0x2d3c | 2022-11-13T02:31:08Z | 2022-11-17T14:35:55Z | 234a1d33f7b329a6d701a7b249167f72de57c901 | 6150c488e73518f119cfed53094d6179a0d33bf7 | remove deprecated of package io/ioutil. remove io/ioutil | ./utils_test.go | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"encoding/xml"
"fmt"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMode)
}... | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
package gin
import (
"bytes"
"encoding/xml"
"fmt"
"net/http"
"testing"
"github.com/stretchr/testify/assert"
)
func init() {
SetMode(TestMode)
}... | -1 |