Replace godep with dep
This commit is contained in:
parent
1e7489927c
commit
bf5616c65b
14883 changed files with 3937406 additions and 361781 deletions
18
vendor/github.com/zakjan/cert-chain-resolver/tests/http-server.go
generated
vendored
Normal file
18
vendor/github.com/zakjan/cert-chain-resolver/tests/http-server.go
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fs := http.FileServer(http.Dir(os.Args[1]))
|
||||
http.Handle("/", fs)
|
||||
|
||||
err := http.ListenAndServe(":http", nil)
|
||||
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue