Move to contrib, separate mobile build script

This commit is contained in:
Neil Alexander 2021-11-04 12:37:00 +00:00
parent 71b9409c44
commit 8f1b550030
7 changed files with 60 additions and 26 deletions

View file

@ -0,0 +1,12 @@
// +build android
package mobile
import "log"
type MobileLogger struct{}
func (nsl MobileLogger) Write(p []byte) (n int, err error) {
log.Println(string(p))
return len(p), nil
}