Skip to content

Commit feb727a

Browse files
committed
userCurrent for unsupported GOOS
1 parent caa8715 commit feb727a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

user_other.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Package pq is a pure Go Postgres driver for the database/sql package.
2+
3+
// +build js android hurd illumos zos
4+
5+
package pq
6+
7+
import (
8+
"os"
9+
"os/user"
10+
)
11+
12+
func userCurrent() (string, error) {
13+
return "", ErrCouldNotDetectUsername
14+
}

0 commit comments

Comments
 (0)