Skip to content

Commit 178f2ca

Browse files
committed
pass: use go build constraint
Signed-off-by: CrazyMax <[email protected]>
1 parent d625f68 commit 178f2ca

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

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 !windows
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 !windows
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 !windows
2+
13
package pass
24

35
import (

0 commit comments

Comments
 (0)