File: simple.txt

package info (click to toggle)
golang-golang-x-mod 0.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 932 kB
  • sloc: sh: 6; makefile: 6
file content (22 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
path=example.com/m
version=v1.0.0
hash=h1:tpqYOOmuilagXzyqoJ3roUjp8gneQeTv5YVpL6BG7/k=
-- go.mod --
module example.com/m

go 1.13
-- m.go --
package m

func Foo() int { return 42 }
-- cmd/hello/hello.go --
package main

import (
  "fmt"
  "example.com/m"
)

func main() {
  fmt.Println(m.Foo())
}