Skip to content

Commit 47d4e61

Browse files
committed
pass: use go build constraint
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
1 parent 324403b commit 47d4e61

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

pass/cmd/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build linux || darwin
2+
// +build linux darwin
3+
14
package main
25

36
import (

pass/pass.go

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

pass/pass_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build linux || darwin
2+
// +build linux darwin
3+
14
package pass
25

36
import (

0 commit comments

Comments
 (0)