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

Side by Side Diff: src/pkg/os/user/lookup_stubs.go

Issue 5011046: code review 5011046: build: add build comments to core packages (Closed)
Patch Set: diff -r a12d99eb48bb https://go.googlecode.com/hg Created 12 years, 6 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:
View unified diff | Download patch
« no previous file with comments | « src/pkg/os/sys_bsd.go ('k') | src/pkg/os/user/lookup_unix.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « src/pkg/os/sys_bsd.go ('k') | src/pkg/os/user/lookup_unix.go » ('j') | no next file with comments »

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