<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tanikonda Ramakrishna</title>
    <description>The latest articles on DEV Community by Tanikonda Ramakrishna (@dhanram).</description>
    <link>https://dev.to/dhanram</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F813199%2F24b2f8e7-b51b-4357-b2f3-df930420047b.png</url>
      <title>DEV Community: Tanikonda Ramakrishna</title>
      <link>https://dev.to/dhanram</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dhanram"/>
    <language>en</language>
    <item>
      <title>How to send json data from go to dart</title>
      <dc:creator>Tanikonda Ramakrishna</dc:creator>
      <pubDate>Mon, 08 Aug 2022 07:55:32 +0000</pubDate>
      <link>https://dev.to/dhanram/how-to-send-json-data-from-go-to-dart-4pl7</link>
      <guid>https://dev.to/dhanram/how-to-send-json-data-from-go-to-dart-4pl7</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;package main

import "C"
import "fmt"

type userStruct struct {
    name string
    age  int
}

//export GetData
func GetData() userStruct {
    fmt.Println("hi from go")
    user := userStruct{name: "RK", age: 22}
    return user
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;how can I call the GetData function in dart? since we can't use go structs in c-shared libraries. My goal is to send data of any kind like bytes, maps, structs etc.. from go to dart. Is it possible to do this? &lt;/p&gt;

</description>
      <category>go</category>
      <category>dart</category>
      <category>flutter</category>
    </item>
  </channel>
</rss>
