Skip to content

Commit 9cbcd21

Browse files
committed
pass: use go build constraint
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
1 parent d625f68 commit 9cbcd21

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

pass/cmd/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build unix
2+
13
package main
24

35
import (

pass/pass.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build unix
2+
13
// Package pass implements a `pass` based credential helper. Passwords are stored
24
// as arguments to pass of the form: "$PASS_FOLDER/base64-url(serverURL)/username".
35
// We base64-url encode the serverURL, because under the hood pass uses files and

pass/pass_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build unix
2+
13
package pass
24

35
import (

0 commit comments

Comments
 (0)