]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
go : add tests and update bindings (#2425)
authorStavros Panakakis <redacted>
Fri, 20 Sep 2024 12:36:12 +0000 (15:36 +0300)
committerGitHub <redacted>
Fri, 20 Sep 2024 12:36:12 +0000 (15:36 +0300)
commit3853d83d737efe0b6b9d8cfceefdc5fdd8ba3753
tree418519202893401c5cfa1ebef31396281a2d0a24
parent5b1ce40fa882e9cb8630b48032067a1ed2f1534f
go : add tests and update bindings (#2425)

Update Go version to ^1.23, the actions/setup-go
to v5, actions/checkout to v4 and
github.com/stretchr/testify to v1.9.0.

Add test cases for the following model
struct methods:
 - New
 - Close
 - NewContext
 - IsMultilingual
 - Languages

Add test cases for the following context
struct methods:
 - SetLanguage
 - IsMultilingual
 - Language
 - Process
.github/workflows/bindings-go.yml
bindings/go/go.mod
bindings/go/go.sum
bindings/go/pkg/whisper/context_test.go
bindings/go/pkg/whisper/model_test.go [new file with mode: 0644]
bindings/go/pkg/whisper/util_test.go [new file with mode: 0644]