go.go 300 B

1234567891011121314151617181920
  1. package main
  2. import (
  3. "github.com/stianeikeland/go-rpio/v4"
  4. "github.com/eclipse/paho.mqtt.golang"
  5. "fmt"
  6. "exec"
  7. "m"
  8. )
  9. func main() {
  10. mqtt_parms := MqttParms {
  11. client_id = "Irrigatore"
  12. username = "Irrigatore"
  13. password = "Irrigatore"
  14. server = "Endor"
  15. port = 1449
  16. }
  17. }