<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>golang - Tag - FH Jurnal</title>
        <link>https://sukangetik.com/tags/golang/</link>
        <description>golang - Tag - FH Jurnal</description>
        <generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feri.harsanto@gmail.com (fhpermadi)</managingEditor>
            <webMaster>feri.harsanto@gmail.com (fhpermadi)</webMaster><lastBuildDate>Thu, 30 Nov 2023 18:25:14 &#43;0700</lastBuildDate><atom:link href="https://sukangetik.com/tags/golang/" rel="self" type="application/rss+xml" /><item>
    <title>Golang Mongo</title>
    <link>https://sukangetik.com/tech/snippets/golang-mongo-json/</link>
    <pubDate>Thu, 30 Nov 2023 18:25:14 &#43;0700</pubDate>
    <author>fhpermadi</author>
    <guid>https://sukangetik.com/tech/snippets/golang-mongo-json/</guid>
    <description><![CDATA[Handle MongoDB Collection intermitten between String and Embedded Document 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 func (a *Address) UnmarshalBSONValue(t bsontype.Type, data []byte) error { if s, _, ok := bsoncore.ReadString(data); ok { a.Address = s return nil } if t != bson.TypeEmbeddedDocument { return fmt.Errorf(&#34;expected embedded document, got BSON type: %v&#34;, t) } var doc bson.]]></description>
</item>
<item>
    <title>Dependency issue golang Module in Gitlab</title>
    <link>https://sukangetik.com/2021/09/dependency-issue-golang-module-in-gitlab/</link>
    <pubDate>Fri, 24 Sep 2021 15:12:39 &#43;0700</pubDate>
    <author>fhpermadi</author>
    <guid>https://sukangetik.com/2021/09/dependency-issue-golang-module-in-gitlab/</guid>
    <description><![CDATA[Manage dependency in golang is quite easy, the module path like git.company.com/product/tools/adapter/db/mongo can
When you hosting your code privately in gitlab.com or your company (e.g: git.company.com)
Most of the time people who using github.com as their base for Go module don&rsquo;t have this issues. How do you get it work with Go modules (privately!)
Common issue for private module, triggered by go mod tidy
1 2 3 fatal: unable to update url base from redirection: 25 asked for: http://git.]]></description>
</item>
</channel>
</rss>
