LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package user | 5 package user |
6 | 6 |
7 import ( | 7 import ( |
8 "fmt" | 8 "fmt" |
9 "os" | 9 "os" |
10 "runtime" | 10 "runtime" |
11 ) | 11 ) |
12 | 12 |
13 func Lookup(username string) (*User, os.Error) { | 13 func Lookup(username string) (*User, os.Error) { |
14 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime.
GOOS, runtime.GOARCH) | 14 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime.
GOOS, runtime.GOARCH) |
15 } | 15 } |
16 | 16 |
17 func LookupId(int) (*User, os.Error) { | 17 func LookupId(int) (*User, os.Error) { |
18 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim
e.GOOS, runtime.GOARCH) | 18 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim
e.GOOS, runtime.GOARCH) |
19 } | 19 } |
| 20 |
| 21 func LookupGroup(groupname string) (*Group, os.Error) { |
| 22 return nil, fmt.Errorf("user: LookupGroup not implemented on %s/%s", run
time.GOOS, runtime.GOARCH) |
| 23 } |
| 24 |
| 25 func LookupGroupId(int) (*Group, os.Error) { |
| 26 return nil, fmt.Errorf("user: LookupGroupId not implemented on %s/%s", r
untime.GOOS, runtime.GOARCH) |
| 27 } |
LEFT | RIGHT |