Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1452)

Delta Between Two Patch Sets: src/pkg/os/user/lookup_stubs.go

Issue 4589049: code review 4589049: os/user: group lookup functions
Left Patch Set: Created 12 years, 9 months ago
Right Patch Set: diff -r 17e26defe7bc https://go.googlecode.com/hg/ Created 12 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | src/pkg/os/user/lookup_unix.go » ('j') | src/pkg/os/user/lookup_unix.go » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b