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

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

Issue 5554079: code review 5554079: go/build: add BuildTags to Context, allow !tag (Closed)
Left Patch Set: diff -r 9959aca91c87 https://code.google.com/p/go/ Created 12 years, 2 months ago
Right Patch Set: diff -r d9358d10ab37 https://go.googlecode.com/hg/ Created 12 years, 2 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 | « src/pkg/net/cgo_stub.go ('k') | no next file » | no next file with change/comment »
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 // +build nocgo windows 5 // +build !cgo windows
6 6
7 package user 7 package user
8 8
9 import ( 9 import (
10 "fmt" 10 "fmt"
11 "runtime" 11 "runtime"
12 ) 12 )
13 13
14 func Lookup(username string) (*User, error) { 14 func Lookup(username string) (*User, error) {
15 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime. GOOS, runtime.GOARCH) 15 return nil, fmt.Errorf("user: Lookup not implemented on %s/%s", runtime. GOOS, runtime.GOARCH)
16 } 16 }
17 17
18 func LookupId(int) (*User, error) { 18 func LookupId(int) (*User, error) {
19 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim e.GOOS, runtime.GOARCH) 19 return nil, fmt.Errorf("user: LookupId not implemented on %s/%s", runtim e.GOOS, runtime.GOARCH)
20 } 20 }
LEFTRIGHT

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