github.com/miolini/go@v0.0.0-20160405192216-fca68c8cb408/src/os/user/lookup_android.go (about) 1 // Copyright 2016 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 5 // +build android 6 7 package user 8 9 import "errors" 10 11 func init() { 12 userImplemented = false 13 groupImplemented = false 14 } 15 16 func current() (*User, error) { 17 return nil, errors.New("user: Current not implemented on android") 18 } 19 20 func lookupUser(string) (*User, error) { 21 return nil, errors.New("user: Lookup not implemented on android") 22 } 23 24 func lookupUserId(string) (*User, error) { 25 return nil, errors.New("user: LookupId not implemented on android") 26 } 27 28 func lookupGroup(string) (*Group, error) { 29 return nil, errors.New("user: LookupGroup not implemented on android") 30 } 31 32 func lookupGroupId(string) (*Group, error) { 33 return nil, errors.New("user: LookupGroupId not implemented on android") 34 } 35 36 func listGroups(*User) ([]string, error) { 37 return nil, errors.New("user: GroupIds not implemented on android") 38 }