<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts on Blogs of xhd2015</title>
    <link>https://blog.xhd2015.xyz/posts/</link>
    <description>Recent content in Posts on Blogs of xhd2015</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 21 Apr 2024 19:31:34 +0800</lastBuildDate>
    <atom:link href="https://blog.xhd2015.xyz/posts/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>xgo trace: a powerful visualization tool in go</title>
      <link>https://blog.xhd2015.xyz/posts/xgo-trace_a-powerful-visualization-tool-in-go/</link>
      <pubDate>Sun, 21 Apr 2024 19:31:34 +0800</pubDate>
      <guid>https://blog.xhd2015.xyz/posts/xgo-trace_a-powerful-visualization-tool-in-go/</guid>
      <description>Overview Xgo has a set of tools to help go developers write unit test faster and easier.&#xA;These tools include:&#xA;Trace Mock Trap This blog introduces the Trace tool.&#xA;In case you don&amp;rsquo;t know, the xgo project is at https://github.com/xhd2015/xgo.&#xA;About the trace The trace in xgo can be used to visualize execution of a go program.&#xA;In some cases, this can replace the debugger, reducing the effort to find a bug.</description>
    </item>
    <item>
      <title>xgo: monkey patching in go using ‐toolexec</title>
      <link>https://blog.xhd2015.xyz/posts/xgo-monkey-patching-in-go-using-toolexec/</link>
      <pubDate>Thu, 04 Apr 2024 15:32:15 +0800</pubDate>
      <guid>https://blog.xhd2015.xyz/posts/xgo-monkey-patching-in-go-using-toolexec/</guid>
      <description>Overview In this blog, I will break down the implementation details in xgo.&#xA;In case you don&amp;rsquo;t know, the xgo project is at https://github.com/xhd2015/xgo.&#xA;What it does is simply adding trap in the beginning of each go function, resulting in the concept called Trap, then built on this technique, other functionalities like Mock, Patch and Trace are introduced.&#xA;What is Trap? A trap is a code snippet inserted into the beginning of a function body.</description>
    </item>
    <item>
      <title>Announcing My New Blogs</title>
      <link>https://blog.xhd2015.xyz/posts/annoucing-my-new-blogs/</link>
      <pubDate>Mon, 01 Apr 2024 08:32:15 +0800</pubDate>
      <guid>https://blog.xhd2015.xyz/posts/annoucing-my-new-blogs/</guid>
      <description>Today marks a new beginning of my blog life. I&amp;rsquo;ll start to publish blogs here.</description>
    </item>
  </channel>
</rss>
