<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Golang on maygames</title><link>https://www.maygames.net/tags/golang/</link><description>Recent content in Golang on maygames</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 22 Jun 2023 13:45:24 +0200</lastBuildDate><atom:link href="https://www.maygames.net/tags/golang/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating an Open Source Stock Trading Software</title><link>https://www.maygames.net/posts/2023-06-22-creating-an-open-source-stock-trading-software/</link><pubDate>Thu, 22 Jun 2023 13:45:24 +0200</pubDate><guid>https://www.maygames.net/posts/2023-06-22-creating-an-open-source-stock-trading-software/</guid><description>&lt;p&gt;While there are a lot of web-based stock trading tools available, trading apps for PC/mac are rare and usually linked to a specific broker. I&amp;rsquo;m developing a trading software with an API layer supporting different brokers.&lt;/p&gt;
&lt;h2 id="scope-of-this-post"&gt;Scope of this post&lt;/h2&gt;
&lt;p&gt;This article presents &lt;a href="https://github.com/maystocks/maystocks"&gt;maystocks&lt;/a&gt;, an open source stock trading software.&lt;/p&gt;
&lt;h2 id="motivation"&gt;Motivation&lt;/h2&gt;
&lt;p&gt;In 2022, I tried to use MetaTrader® to trade stocks. Even though MetaTrader® is kind of a &amp;ldquo;standard&amp;rdquo; software, I had a very bad experience using it. It felt like a software from the 1990s.&lt;/p&gt;</description></item><item><title>Choosing a UI Framwork for use with Go</title><link>https://www.maygames.net/posts/2022-07-28-choosing-a-golang-ui-framework/</link><pubDate>Thu, 28 Jul 2022 11:17:13 +0200</pubDate><guid>https://www.maygames.net/posts/2022-07-28-choosing-a-golang-ui-framework/</guid><description>&lt;p&gt;Go is mainly used for backend services and command line tools. But sometimes a more visual user interface is required. I went on a journey to find the right UI framework for use with Go.&lt;/p&gt;
&lt;h2 id="scope-of-this-post"&gt;Scope of this post&lt;/h2&gt;
&lt;p&gt;This article analyses and compares different UI frameworks or framework-bindings for Go. It is not about web-based frameworks, because focus is on usability and performance.&lt;/p&gt;
&lt;h2 id="is-there-a-thing-called-native"&gt;Is there a thing called &amp;ldquo;Native&amp;rdquo;?&lt;/h2&gt;
&lt;p&gt;When evaluating frameworks for specific programming languages, an important point to consider is whether the framework or at least its interface is &amp;ldquo;natively&amp;rdquo; written in that specific language. Usually, this means that the framework is easier to use and can be integrated in a consistent way, which (hopefully) leads to simple and readable code.&lt;/p&gt;</description></item><item><title>Accessing Epic Online Services from a Go Backend Service</title><link>https://www.maygames.net/posts/2022-05-13-accessing-epic-online-services-from-go-backend-service/</link><pubDate>Fri, 13 May 2022 11:17:13 +0200</pubDate><guid>https://www.maygames.net/posts/2022-05-13-accessing-epic-online-services-from-go-backend-service/</guid><description>&lt;p&gt;Epic Online Services (EOS) offer different storage options: &lt;a href="https://dev.epicgames.com/docs/services/en-US/GameServices/TitleStorage/index.html"&gt;Title Storage&lt;/a&gt; and &lt;a href="https://dev.epicgames.com/docs/services/en-US/GameServices/PlayerDataStorage/index.html"&gt;Player Data Storage&lt;/a&gt;. If backend calls are properly authorized (e.g. &lt;a href="https://www.maygames.net/posts/2021-06-25-aws-lambda-authorization-using-epic-online-services/"&gt;using an AWS API Gateway&lt;/a&gt;), EOS storage can easily be managed by a backend service.&lt;/p&gt;
&lt;h2 id="scope-of-this-post"&gt;Scope of this post&lt;/h2&gt;
&lt;p&gt;This article presents an example program which can be used to access title storage from a Go backend service.&lt;/p&gt;
&lt;h2 id="backend-authorization"&gt;Backend Authorization&lt;/h2&gt;
&lt;p&gt;Usually, all storage-related EOS calls require login. However, running an &amp;ldquo;accountportal&amp;rdquo; login on a backend server does not work, because it would simply try to start a web browser on the server. There are other options available to use EOS from a backend service:&lt;/p&gt;</description></item><item><title>Serverless monitoring of Steam server lists</title><link>https://www.maygames.net/posts/2021-09-25-serverless-monitoring-of-steam-dedicated-server-lists/</link><pubDate>Sat, 25 Sep 2021 09:37:18 +0200</pubDate><guid>https://www.maygames.net/posts/2021-09-25-serverless-monitoring-of-steam-dedicated-server-lists/</guid><description>&lt;p&gt;Multiplayer games published on Steam often add their dedicated servers to a public &lt;a href="https://partner.steamgames.com/doc/features/multiplayer/game_servers"&gt;Steam server list&lt;/a&gt;.
This list is basically a backend service provided by Steam which can be queried in-game to browse and filter game servers and their state.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Steam server browser" loading="lazy" src="https://www.maygames.net/assets/images/posts/2021/steam_serverbrowser.png"&gt;&lt;/p&gt;
&lt;p&gt;When utilizing this server list, it may happen that dedicated servers for a game are up and running, but the Steam server list for this very game is empty.
Cause of this might be, for example, a communication failure when updating the server list.&lt;/p&gt;</description></item></channel></rss>