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 33package wasm
44
55import (
6- "fmt"
76 "context"
7+ "fmt"
88
99 "github.com/sqlc-dev/sqlc/internal/plugin"
1010)
1111
12- type Runner struct {
13- URL string
14- SHA256 string
15- }
16-
1712func (r * Runner ) Generate (ctx context.Context , req * plugin.CodeGenRequest ) (* plugin.CodeGenResponse , error ) {
1813 return nil , fmt .Errorf ("sqlc built without wasmtime support" )
1914}
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) {
4444 return filepath .Join (cacheHome , "sqlc" ), nil
4545}
4646
47- type Runner struct {
48- URL string
49- SHA256 string
50- Env []string
51- }
52-
5347var flight singleflight.Group
5448
5549// Verify the provided sha256 is valid.
You can’t perform that action at this time.
0 commit comments