File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 3
3
package wasm
4
4
5
5
import (
6
- "fmt"
7
6
"context"
7
+ "fmt"
8
8
9
9
"github.com/sqlc-dev/sqlc/internal/plugin"
10
10
)
11
11
12
- type Runner struct {
13
- URL string
14
- SHA256 string
15
- }
16
-
17
12
func (r * Runner ) Generate (ctx context.Context , req * plugin.CodeGenRequest ) (* plugin.CodeGenResponse , error ) {
18
13
return nil , fmt .Errorf ("sqlc built without wasmtime support" )
19
14
}
Original file line number Diff line number Diff line change
1
+ package wasm
2
+
3
+ type Runner struct {
4
+ URL string
5
+ SHA256 string
6
+ Env []string
7
+ }
Original file line number Diff line number Diff line change @@ -44,12 +44,6 @@ func cacheDir() (string, error) {
44
44
return filepath .Join (cacheHome , "sqlc" ), nil
45
45
}
46
46
47
- type Runner struct {
48
- URL string
49
- SHA256 string
50
- Env []string
51
- }
52
-
53
47
var flight singleflight.Group
54
48
55
49
// Verify the provided sha256 is valid.
You can’t perform that action at this time.
0 commit comments