Skip to content

Instantly share code, notes, and snippets.

// powermon project main.go
package main
import (
"flag"
"fmt"
"io"
"log"
"time"
@andyleap
andyleap / main.go
Created March 11, 2017 23:24
Simple RPC system!
package main
import (
"fmt"
"rpctest/client"
)
func main() {
fmt.Println(rpctest.Add(1, 2))
}
@andyleap
andyleap / main.go
Last active October 6, 2017 02:59 — forked from ThisIsSet-L/main.go
liquidsoap controller so far
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"os/exec"
)
package main
import (
"bytes"
"context"
"log"
"os"
"strconv"
"github.com/go-ble/ble"