hanayo/vendor/zxq.co/ripple/agplwarning/example/main.go

16 lines
204 B
Go
Raw Normal View History

2019-02-23 13:29:15 +00:00
package main
import (
"fmt"
"zxq.co/ripple/agplwarning"
)
func main() {
err := agplwarning.Warn("agplwarning", "AGPLWarning")
if err != nil {
fmt.Println(err)
}
fmt.Println("License agreed")
}