Skip to content

Commit 22fd98e

Browse files
authored
More deprecation messages for older Go SDKs (#3006)
* add more deprecation messages to older Go SDKs * more comments
1 parent d543992 commit 22fd98e

37 files changed

+455
-60
lines changed

pkg/client/admin.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/context.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/create/task.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package create
24

35
import (

pkg/client/create/tasks.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package create
24

35
import (

pkg/client/cron.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/dispatcher.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/durable_listener.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/event.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

pkg/client/listener.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Deprecated: This package is part of the legacy v0 workflow definition system.
2+
// Use the new Go SDK at github.com/hatchet-dev/hatchet/sdks/go instead. Migration guide: https://docs.hatchet.run/home/migration-guide-go
13
package client
24

35
import (

0 commit comments

Comments
 (0)