Black Lives Matter. Support the Equal Justice Initiative.

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

View as plain text