main.go 470 B

1234567891011121314151617181920
  1. // Copyright 2014 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // This is the Go entry point for the libpsi app.
  5. // It is invoked from Java.
  6. //
  7. // See README for details.
  8. package main
  9. import (
  10. "golang.org/x/mobile/app"
  11. _ "github.com/Psiphon-Labs/psiphon-tunnel-core/AndroidLibrary/go_psi"
  12. _ "golang.org/x/mobile/bind/java"
  13. )
  14. func main() {
  15. app.Run(app.Callbacks{})
  16. }