first commit
This commit is contained in:
36
internal/codegen/templates/file.tmpl
Normal file
36
internal/codegen/templates/file.tmpl
Normal file
@ -0,0 +1,36 @@
|
||||
// Code generated by winrt-go-gen. DO NOT EDIT.
|
||||
|
||||
//go:build windows
|
||||
|
||||
//nolint:all
|
||||
package {{.Package}}
|
||||
|
||||
import (
|
||||
"syscall"
|
||||
"unsafe"
|
||||
"github.com/go-ole/go-ole"
|
||||
"github.com/saltosystems/winrt-go"
|
||||
"github.com/saltosystems/winrt-go/internal/kernel32"
|
||||
{{range .Imports}}"{{.}}"
|
||||
{{end}}
|
||||
)
|
||||
|
||||
{{range .Interfaces}}
|
||||
{{template "interface.tmpl" .}}
|
||||
{{end}}
|
||||
|
||||
{{range .Classes}}
|
||||
{{template "class.tmpl" .}}
|
||||
{{end}}
|
||||
|
||||
{{range .Enums}}
|
||||
{{template "enum.tmpl" .}}
|
||||
{{end}}
|
||||
|
||||
{{range .Structs}}
|
||||
{{template "struct.tmpl" .}}
|
||||
{{end}}
|
||||
|
||||
{{range .Delegates}}
|
||||
{{template "delegate.tmpl" .}}
|
||||
{{end}}
|
Reference in New Issue
Block a user