File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright 2014-2024 Cristian Maglie. All rights reserved.
3
+ // Use of this source code is governed by a BSD-style
4
+ // license that can be found in the LICENSE file.
5
+ //
6
+
7
+ package enumerator
8
+
9
+ func nativeGetDetailedPortsList () ([]* PortDetails , error ) {
10
+ return nil , & PortEnumerationError {}
11
+ }
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright 2014-2024 Cristian Maglie. All rights reserved.
3
+ // Use of this source code is governed by a BSD-style
4
+ // license that can be found in the LICENSE file.
5
+ //
6
+
7
+ package serial
8
+
9
+ import (
10
+ "errors"
11
+ )
12
+
13
+ func nativeGetPortsList () ([]string , error ) {
14
+ return nil , errors .New ("nativeGetPortsList is not supported on wasm" )
15
+ }
Original file line number Diff line number Diff line change
1
+ //
2
+ // Copyright 2014-2024 Cristian Maglie. All rights reserved.
3
+ // Use of this source code is governed by a BSD-style
4
+ // license that can be found in the LICENSE file.
5
+ //
6
+
7
+ package serial
8
+
9
+ import (
10
+ "errors"
11
+ )
12
+
13
+ func nativeOpen (portName string , mode * Mode ) (Port , error ) {
14
+ return nil , errors .New ("nativeOpen is not supported on wasm" )
15
+ }
You can’t perform that action at this time.
0 commit comments