...

Text file src/golang.org/x/mod/zip/testdata/create_from_dir/simple.txt

Documentation: golang.org/x/mod/zip/testdata/create_from_dir

     1path=example.com/m
     2version=v1.0.0
     3hash=h1:tpqYOOmuilagXzyqoJ3roUjp8gneQeTv5YVpL6BG7/k=
     4-- go.mod --
     5module example.com/m
     6
     7go 1.13
     8-- m.go --
     9package m
    10
    11func Foo() int { return 42 }
    12-- cmd/hello/hello.go --
    13package main
    14
    15import (
    16  "fmt"
    17  "example.com/m"
    18)
    19
    20func main() {
    21  fmt.Println(m.Foo())
    22}

View as plain text