...

Text file src/cmd/go/testdata/vcstest/auth/or404.txt

Documentation: cmd/go/testdata/vcstest/auth

     1handle auth
     2
     3modzip vcs-test.golang.org/auth/or404/@v/v0.0.0-20190405155004-2234c475880e.zip vcs-test.golang.org/auth/or404@v0.0.0-20190405155004-2234c475880e .moddir
     4
     5-- .access --
     6{
     7	"Username": "aladdin",
     8	"Password": "opensesame",
     9	"StatusCode": 404,
    10	"Message": "File? What file?"
    11}
    12-- index.html --
    13<!DOCTYPE html>
    14<html>
    15<meta name="go-import" content="vcs-test.golang.org/auth/or404 mod https://vcs-test.golang.org/auth/or404">
    16-- vcs-test.golang.org/auth/or404/@v/list --
    17v0.0.0-20190405155004-2234c475880e
    18-- vcs-test.golang.org/auth/or404/@v/v0.0.0-20190405155004-2234c475880e.info --
    19{"Version":"v0.0.0-20190405155004-2234c475880e","Time":"2019-04-05T15:50:04Z"}
    20-- vcs-test.golang.org/auth/or404/@v/v0.0.0-20190405155004-2234c475880e.mod --
    21module vcs-test.golang.org/auth/or404
    22
    23go 1.13
    24-- .moddir/go.mod --
    25module vcs-test.golang.org/auth/or404
    26
    27go 1.13
    28-- .moddir/or404.go --
    29package or404
    30-- vcs-test.golang.org/go/modauth404/@v/list --

View as plain text