Skip to content

Commit 0f8da43

Browse files
committed
refactor: filename aligned with purpose and added wasip1 into build annotation
1 parent dd8bec8 commit 0f8da43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

transport_js.go renamed to transport_dial_wasm.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build js && wasm
6-
// +build js,wasm
5+
//go:build (js && wasm) || wasip1
6+
// +build js,wasm wasip1
77

88
package resty
99

@@ -12,6 +12,6 @@ import (
1212
"net"
1313
)
1414

15-
func transportDialContext(dialer *net.Dialer) func(context.Context, string, string) (net.Conn, error) {
15+
func transportDialContext(_ *net.Dialer) func(context.Context, string, string) (net.Conn, error) {
1616
return nil
1717
}

0 commit comments

Comments
 (0)