lint fixes

This commit is contained in:
2026-02-15 10:43:49 +00:00
parent 4f42aa7f36
commit 2a9b88b7f8
14 changed files with 220 additions and 67 deletions

View File

@@ -43,7 +43,6 @@ func TestMain(m *testing.M) {
if err != nil {
os.Exit(1)
}
defer client.Disconnect()
setup(client)
@@ -51,11 +50,13 @@ func TestMain(m *testing.M) {
exitCode := m.Run()
teardown(client)
client.Disconnect()
// Exit with the appropriate code
os.Exit(exitCode)
}
// nolint: misspell
func setup(client *goobs.Client) {
client.Config.SetStreamServiceSettings(config.NewSetStreamServiceSettingsParams().
WithStreamServiceType("rtmp_common").