File: README

package info (click to toggle)
gpsd 3.27-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 44,056 kB
  • sloc: ansic: 74,438; python: 16,521; sh: 890; cpp: 848; php: 225; makefile: 197; perl: 111; javascript: 26; xml: 11
file content (20 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This directory contains 2 files and 1 directory

example3.go is a minimal gpsd client program written in Go.

go.mod is a bookkeeping file that the Go compiler uses.
It declares the two requirements for example3.go:

1. The Golang compiler version
2. The gpsd Go package

The vendor directory contains the gpsd Go package in vendor/gpsd/gpsd.go

To run example3.go, change to this directory and run:

    $ go run .

To build the binary example3, change to this directory and run:

    $ go build .