Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Go with Dart: Interop Guide #6236

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all 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
20 changes: 20 additions & 0 deletions src/content/interop/go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "Using Go with Dart: Interop Guide"
description: "Learn how to integrate Go code into your Dart or Flutter project with flutter-go-bridge."
---

# Using Go Code in Dart Programs

Integrating Go with Dart can unlock powerful backend capabilities for your applications. This guide introduces a community-driven solution to help you achieve Go-Dart interoperability with ease.

## What is `flutter-go-bridge`?

[`flutter-go-bridge`](https://github.com/csnewman/flutter-go-bridge) is an open-source library designed to bridge the gap between Go and Dart. It provides tools to call Go functions directly from Dart, enabling seamless interaction between these two languages in your Flutter applications.

## Why Use Go with Dart?

- **High Performance**: Go is well-suited for building performance-critical components, such as networking or data processing.
- **Portability**: Go compiles to standalone binaries, making it easy to share across platforms.
- **Strong Ecosystem**: Go's ecosystem offers powerful libraries for tasks like concurrent programming, cryptography, and server-side development.

Combining Go's strengths with Dart's robust Flutter ecosystem can supercharge your app development workflow.