<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>go Archives - Code Samples</title>
	<atom:link href="https://codesamples.net/category/go/feed/" rel="self" type="application/rss+xml" />
	<link>https://codesamples.net/category/go/</link>
	<description>Simplified example code of the work that I&#039;ve done</description>
	<lastBuildDate>Sat, 31 Oct 2026 17:04:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://codesamples.net/wp-content/uploads/2025/08/cropped-taro_photogenic-32x32.jpg</url>
	<title>go Archives - Code Samples</title>
	<link>https://codesamples.net/category/go/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Go Unit Testing Example</title>
		<link>https://codesamples.net/2026/07/go-unit-testing-example/</link>
					<comments>https://codesamples.net/2026/07/go-unit-testing-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Fri, 03 Jul 2026 11:25:46 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=969</guid>

					<description><![CDATA[<p>As a software developer nowadays, we are expected to pick things up rather quickly. You can be assigned to a JIRA ticket to make changes to an app written in a programming language you are not that familiar with. It&#8217;s normal to compare or ask for example how is it done in Go when you [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/07/go-unit-testing-example/">Go Unit Testing Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/07/go-unit-testing-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Copy Shopify Product Example</title>
		<link>https://codesamples.net/2025/12/copy-shopify-product-example/</link>
					<comments>https://codesamples.net/2025/12/copy-shopify-product-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Thu, 25 Dec 2025 05:23:04 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<category><![CDATA[go-chi]]></category>
		<category><![CDATA[graphql]]></category>
		<category><![CDATA[shopify]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=539</guid>

					<description><![CDATA[<p>If you are working on a Shopify project, chances are you&#8217;ll have multiple stores. One for development, one for pre-production and one for production or live which is accessible to the public. Because of this, you&#8217;ld probably want these stores to have the same products. Although there is an option to import/export products in Shopify [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2025/12/copy-shopify-product-example/">Copy Shopify Product Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2025/12/copy-shopify-product-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Shopify Bulk Query Example</title>
		<link>https://codesamples.net/2025/12/shopify-bulk-query-example/</link>
					<comments>https://codesamples.net/2025/12/shopify-bulk-query-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sat, 20 Dec 2025 06:36:14 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<category><![CDATA[go-chi]]></category>
		<category><![CDATA[graphql]]></category>
		<category><![CDATA[shopify]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=525</guid>

					<description><![CDATA[<p>When should I use bulk query? Read on and let&#8217;s analyse it together. This blog builds upon my previous blog, Consuming Shopify Product API Example. We&#8217;ll compare the bulk query with the non-bulk query we did on that example. Shopify Bulk Query Changes These are the changes we made to the previous example so we [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2025/12/shopify-bulk-query-example/">Shopify Bulk Query Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2025/12/shopify-bulk-query-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Go TLS MySQL Example</title>
		<link>https://codesamples.net/2025/12/go-tls-mysql-example/</link>
					<comments>https://codesamples.net/2025/12/go-tls-mysql-example/#comments</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sun, 14 Dec 2025 05:46:36 +0000</pubDate>
				<category><![CDATA[encryption]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[tls]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=518</guid>

					<description><![CDATA[<p>Nowadays, it is vital to keep data secure. If your connection to a database goes through an untrusted network, it is prudent to encrypt data going through the wire. Fortunately, we can make use of MySQL&#8217;s internal SSL (Secure Sockets Layer) support to make the connection secure. Read on and learn how to secure a [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2025/12/go-tls-mysql-example/">Go TLS MySQL Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2025/12/go-tls-mysql-example/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Consuming Shopify Product API Example</title>
		<link>https://codesamples.net/2025/12/consuming-shopify-product-api-example/</link>
					<comments>https://codesamples.net/2025/12/consuming-shopify-product-api-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sat, 13 Dec 2025 06:12:45 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<category><![CDATA[go-chi]]></category>
		<category><![CDATA[graphql]]></category>
		<category><![CDATA[shopify]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=508</guid>

					<description><![CDATA[<p>In this blog, we are going to learn how to pull product data from the Shopify API. To build upon previous examples like Starting Out on the go-chi Framework and GraphQL with Postman, we will implement this in Go using the go-chi framework and hit the Shopify GraphQL endpoint. Let&#8217;s begin. User Story As a [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2025/12/consuming-shopify-product-api-example/">Consuming Shopify Product API Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2025/12/consuming-shopify-product-api-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Starting Out on the go-chi Framework Example</title>
		<link>https://codesamples.net/2025/11/starting-out-on-the-go-chi-framework-example/</link>
					<comments>https://codesamples.net/2025/11/starting-out-on-the-go-chi-framework-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sat, 08 Nov 2025 06:25:45 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<category><![CDATA[go-chi]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=402</guid>

					<description><![CDATA[<p>Picture this. The company you work for has decided to move from Java to Golang to create microservices. What would you do? As for me, I went straight into creating an HTTP GET endpoint that returns a nice &#8220;hello world&#8221; message. As you&#8217;ll see below, the code uses the go chi framework. Why the go-chi [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2025/11/starting-out-on-the-go-chi-framework-example/">Starting Out on the go-chi Framework Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2025/11/starting-out-on-the-go-chi-framework-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Accessing MySQL using Go Example</title>
		<link>https://codesamples.net/2025/11/accessing-mysql-using-go-example/</link>
					<comments>https://codesamples.net/2025/11/accessing-mysql-using-go-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sun, 02 Nov 2025 06:27:35 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<category><![CDATA[mysql]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=396</guid>

					<description><![CDATA[<p>In this example, I will be accessing a relational database (MySQL) using the Go programming language. I have followed the tutorial from the official Go website. Unfortunately, on my first try, I wasn&#8217;t able to connect to my database. I&#8217;m writing this to supplement what was written on the Go website. First of all, I [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2025/11/accessing-mysql-using-go-example/">Accessing MySQL using Go Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2025/11/accessing-mysql-using-go-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
