<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>neuman (小N)</title>
    <link>https://ruby-china.org/neuman</link>
    <description>乘风破浪会有时，直挂云帆济沧海</description>
    <language>en-us</language>
    <item>
      <title>golang 函数返回结构体或者结构体指针</title>
      <description>&lt;p&gt;请教一下 golang 函数返回结构体或者结构体指针到底有什么区别？&lt;/p&gt;</description>
      <author>neuman</author>
      <pubDate>Sat, 22 Jan 2022 09:28:42 +0800</pubDate>
      <link>https://ruby-china.org/topics/42095</link>
      <guid>https://ruby-china.org/topics/42095</guid>
    </item>
    <item>
      <title>【请求支援帖子】请教一下，create_action 是什么意思？</title>
      <description>&lt;p&gt;今天看到了 create_action，但是没有找到对应的方法的定义，求求大佬帮帮忙，告知一下 create_action 函数是什么意思。&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;like&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;likeable&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;likeable&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;blank?&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kp"&gt;false&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;likeable&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;user_id&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nb"&gt;id&lt;/span&gt;
      &lt;span class="n"&gt;create_action&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;:like&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;target: &lt;/span&gt;&lt;span class="n"&gt;likeable&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>neuman</author>
      <pubDate>Wed, 12 Jan 2022 22:56:02 +0800</pubDate>
      <link>https://ruby-china.org/topics/42074</link>
      <guid>https://ruby-china.org/topics/42074</guid>
    </item>
  </channel>
</rss>
