Skip to content

🎥 Make videos programmatically with React

ignore goexample

Alex Fernandez589c6ab3baf9
diff --git a/.gitignore b/.gitignore
index 638916b920..0e421452ec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ packages/example/out
.vercel
packages/renderer/target
packages/example/sa-key.json
+goclient-example
diff --git a/packages/goclient-example/main.go b/packages/goclient-example/main.go
index b069f51e64..dbb894bbf9 100644
--- a/packages/goclient-example/main.go
+++ b/packages/goclient-example/main.go
@@ -1,15 +1,18 @@
package main
import (
+ "log"
+
"github.com/remotion-dev/remotion/packages/goclient"
)
func main() {
+
input := &goclient.RemotionOptions{
// Set the input parameters here
}
err := goclient.Render(input)
if err != nil {
- // Handle the error here
+ log.Fatal(err)
}
}
diff --git a/packages/goclient/goclient.go b/packages/goclient/goclient.go
index df8b17150b..d0eecfc691 100644
--- a/packages/goclient/goclient.go
+++ b/packages/goclient/goclient.go
@@ -10,6 +10,8 @@ import (
)
func invokeLambda(options *RemotionOptions) error {
+
+ println("invoking lambda")
// Create a new AWS session
sess := session.Must(session.NewSessionWithOptions(session.Options{
SharedConfigState: session.SharedConfigEnable,