fixed layout
parent
5155072e56
commit
04fcedc7db
|
@ -40,7 +40,7 @@
|
||||||
There come a time when you need to experiment new things, new style, new
|
There come a time when you need to experiment new things, new style, new
|
||||||
approach. So this post serves as it is named.
|
approach. So this post serves as it is named.
|
||||||
</p>
|
</p>
|
||||||
<h1
|
<h2
|
||||||
id="user-content-design-api-by-trimming-down-the-interfacestruct-or-whatever"
|
id="user-content-design-api-by-trimming-down-the-interfacestruct-or-whatever"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
class="octicon octicon-link"
|
class="octicon octicon-link"
|
||||||
></span
|
></span
|
||||||
></a>
|
></a>
|
||||||
</h1>
|
</h2>
|
||||||
<p>Instead of:</p>
|
<p>Instead of:</p>
|
||||||
<div class="highlight highlight-source-go">
|
<div class="highlight highlight-source-go">
|
||||||
<pre><span class="pl-k">type</span> <span class="pl-smi">Client</span> <span class="pl-k">interface</span> {
|
<pre><span class="pl-k">type</span> <span class="pl-smi">Client</span> <span class="pl-k">interface</span> {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
There come a time when you need to experiment new things, new style, new
|
There come a time when you need to experiment new things, new style, new
|
||||||
approach. So this post serves as it is named.
|
approach. So this post serves as it is named.
|
||||||
|
|
||||||
# Design API by trimming down the interface/struct or whatever
|
## Design API by trimming down the interface/struct or whatever
|
||||||
|
|
||||||
Instead of:
|
Instead of:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue