mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-17 22:55:07 +03:00
Move to contrib
, separate mobile build script
This commit is contained in:
parent
71b9409c44
commit
8f1b550030
7 changed files with 60 additions and 26 deletions
13
contrib/mobile/mobile_other.go
Normal file
13
contrib/mobile/mobile_other.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
// +build !android,!ios
|
||||
|
||||
package mobile
|
||||
|
||||
import "fmt"
|
||||
|
||||
type MobileLogger struct {
|
||||
}
|
||||
|
||||
func (nsl MobileLogger) Write(p []byte) (n int, err error) {
|
||||
fmt.Print(string(p))
|
||||
return len(p), nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue