Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions go/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.ort-lib/
32 changes: 32 additions & 0 deletions go/.golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: "2"

run:
modules-download-mode: readonly
timeout: 10m

linters:
enable:
- gocritic
- govet
- errcheck
- staticcheck
- unused
- ineffassign
- gosec
settings:
gocritic:
enabled-checks:
- evalOrder
disabled-checks:
- ifElseChain
- dupSubExpr
gosec:
excludes:
# CGO pointer passing is intentional in this binding library.
- G103
exclusions:
rules:
- linters:
- errcheck
- gosec
path: _test\.go
3 changes: 3 additions & 0 deletions go/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/microsoft/onnxruntime/go

go 1.26
Loading