Skip to content

Commit

Permalink
userCurrent for unsupported GOOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bukowa committed Apr 24, 2021
1 parent caa8715 commit feb727a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions user_other.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Package pq is a pure Go Postgres driver for the database/sql package.

// +build js android hurd illumos zos

package pq

import (
"os"
"os/user"
)

func userCurrent() (string, error) {
return "", ErrCouldNotDetectUsername
}

0 comments on commit feb727a

Please sign in to comment.