OLD | NEW |
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 // +build openbsd plan9 windows |
| 6 |
5 package user | 7 package user |
6 | 8 |
7 import ( | 9 import ( |
8 "fmt" | 10 "fmt" |
9 "os" | 11 "os" |
10 "runtime" | 12 "runtime" |
11 ) | 13 ) |
12 | 14 |
13 func Lookup(username string) (*User, os.Error) { | 15 func Lookup(username string) (*User, os.Error) { |
14 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime.
GOOS, runtime.GOARCH) | 16 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime.
GOOS, runtime.GOARCH) |
15 } | 17 } |
16 | 18 |
17 func LookupId(int) (*User, os.Error) { | 19 func LookupId(int) (*User, os.Error) { |
18 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim
e.GOOS, runtime.GOARCH) | 20 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim
e.GOOS, runtime.GOARCH) |
19 } | 21 } |
OLD | NEW |