...

Source file src/os/user/lookup_android.go

Documentation: os/user

     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  //go:build android
     6  
     7  package user
     8  
     9  import "errors"
    10  
    11  func lookupUser(string) (*User, error) {
    12  	return nil, errors.New("user: Lookup not implemented on android")
    13  }
    14  
    15  func lookupUserId(string) (*User, error) {
    16  	return nil, errors.New("user: LookupId not implemented on android")
    17  }
    18  
    19  func lookupGroup(string) (*Group, error) {
    20  	return nil, errors.New("user: LookupGroup not implemented on android")
    21  }
    22  
    23  func lookupGroupId(string) (*Group, error) {
    24  	return nil, errors.New("user: LookupGroupId not implemented on android")
    25  }
    26  

View as plain text