1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-21 20:32:46 +08:00

Update swagger to 0.20.1 ()

* update swagger to 0.20.1

* fiw swagger version for validate
This commit is contained in:
Antoine GIRARD
2019-08-28 08:55:22 +02:00
committed by GitHub
parent e0f95d1545
commit 256b178176
100 changed files with 6410 additions and 1259 deletions
Makefilego.modgo.sum
templates/swagger
vendor
cloud.google.com/go
github.com
golang.org/x
modules.txt

@ -39,8 +39,8 @@ type ProcIO struct {
CancelledWriteBytes int64
}
// NewIO creates a new ProcIO instance from a given Proc instance.
func (p Proc) NewIO() (ProcIO, error) {
// IO creates a new ProcIO instance from a given Proc instance.
func (p Proc) IO() (ProcIO, error) {
pio := ProcIO{}
f, err := os.Open(p.path("io"))