docs: complete missing GoDocs for main and sub-packages

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-10-17 11:50:03 +02:00
parent c7981f72ec
commit 3fca96e0ef
3 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
// Package drivers provides a collection of hardware drivers for devices that
// can be used together with TinyGo (https://tinygo.org).
// Package drivers provides a collection of hardware drivers for TinyGo (https://tinygo.org)
// for devices such as sensors and displays.
//
// Here is an example in TinyGo that uses the BMP180 digital barometer:
//
@@ -9,7 +9,7 @@
// "time"
// "machine"
//
// "github.com/tinygo-org/drivers/bmp180"
// "tinygo.org/x/drivers/bmp180"
// )
//
// func main() {
+1 -1
View File
@@ -1,4 +1,4 @@
// Simple driver to rotate a 4-wire stepper motor
// Package easystepper provides a simple driver to rotate a 4-wire stepper motor.
package easystepper // import "tinygo.org/x/drivers/easystepper"
import (
+2
View File
@@ -1,3 +1,5 @@
// Package mqtt is intended to provide compatible interfaces with the
// Paho mqtt library.
package mqtt
import (