blob: b6899442e9b6e94931f2536b7437a5a26970c900 [file] [log] [blame]
<div class="Documentation-content js-docContent"> <section class="Documentation-overview">
<h3 tabindex="-1" id="pkg-overview" class="Documentation-overviewHeader">Overview <a href="#pkg-overview"></a></h3>
<p>Package deprecated has some deprecated symbols.
</p>
</section><section class="Documentation-index">
<h3 id="pkg-index" class="Documentation-indexHeader">Index <a href="#pkg-index"></a></h3>
<ul class="Documentation-indexList">
<li class="Documentation-indexConstants"><a href="#pkg-constants">Constants</a></li>
<li class="Documentation-indexVariables"><a href="#pkg-variables">Variables</a></li>
<li class="Documentation-indexFunction">
<a class="js-deprecatedTagLink" href="#BadF">func BadF()</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li>
<li class="Documentation-indexFunction">
<a href="#GoodF">func GoodF()</a></li>
<li class="Documentation-indexType">
<a class="js-deprecatedTagLink" href="#BadT">type BadT</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li>
<li><ul class="Documentation-indexTypeFunctions">
<li>
<a class="js-deprecatedTagLink" href="#NewBadTBad">func NewBadTBad() BadT</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li>
<li>
<a href="#NewBadTGood">func NewBadTGood() BadT</a></li>
</ul></li>
<li><ul class="Documentation-indexTypeMethods">
<li>
<a class="js-deprecatedTagLink" href="#BadT.BadM">func (BadT) BadM()</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li>
<li>
<a href="#BadT.GoodM">func (BadT) GoodM()</a></li>
</ul></li>
<li class="Documentation-indexType">
<a href="#GoodT">type GoodT</a></li>
<li><ul class="Documentation-indexTypeFunctions">
<li>
<a class="js-deprecatedTagLink" href="#NewGoodTBad">func NewGoodTBad() GoodT</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li>
<li>
<a href="#NewGoodTGood">func NewGoodTGood() GoodT</a></li>
</ul></li>
<li><ul class="Documentation-indexTypeMethods">
<li>
<a class="js-deprecatedTagLink" href="#GoodT.BadM">func (GoodT) BadM()</a><span class="Documentation-indexDeprecated Documentation-deprecatedTag">deprecated</span></li>
<li>
<a href="#GoodT.GoodM">func (GoodT) GoodM()</a></li>
</ul></li>
</ul>
</section><h3 tabindex="-1" id="pkg-constants" class="Documentation-constantsHeader">Constants <a href="#pkg-constants"></a></h3>
<section class="Documentation-constants">
<div class="Documentation-declaration">
<span class="Documentation-declarationLink"><a class="Documentation-source" href="src">View Source</a></span>
<pre><span id="BadC" data-kind="constant">const BadC = 2</span></pre>
</div>
<p>BadC is bad.
Deprecated: use GoodC.
</p>
<div class="Documentation-declaration">
<span class="Documentation-declarationLink"><a class="Documentation-source" href="src">View Source</a></span>
<pre><span id="GoodC" data-kind="constant">const GoodC = 1</span></pre>
</div>
</section>
<h3 tabindex="-1" id="pkg-variables" class="Documentation-variablesHeader">Variables <a href="#pkg-variables"></a></h3>
<section class="Documentation-variables">
<div class="Documentation-declaration">
<span class="Documentation-declarationLink"><a class="Documentation-source" href="src">View Source</a></span>
<pre><span id="BadV" data-kind="variable">var BadV = 2</span></pre>
</div>
<p>Deprecated: use GoodV.
</p>
<div class="Documentation-declaration">
<span class="Documentation-declarationLink"><a class="Documentation-source" href="src">View Source</a></span>
<pre><span id="GoodV" data-kind="variable">var GoodV = 1</span></pre>
</div>
</section>
<h3 tabindex="-1" id="pkg-functions" class="Documentation-functionsHeader">Functions <a href="#pkg-functions"></a></h3>
<section class="Documentation-functions"><div class="Documentation-function">
<details class="Documentation-deprecatedDetails js-deprecatedDetails">
<summary>
<h4 tabindex="-1" id="BadF" data-kind="function" class="Documentation-functionHeader">
<span class="Documentation-deprecatedTitle">
func <a class="Documentation-source" href="src">BadF</a>
<span class="Documentation-deprecatedTag">deprecated</span>
<span class="Documentation-deprecatedBody"></span>
</span>
<span class="Documentation-sinceVersion">
</span>
</h4>
</summary>
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
<div class="Documentation-deprecatedMessage">
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
This function has been deprecated.
</div>
<div class="Documentation-declaration">
<pre>func BadF()</pre>
</div>
<p>BadF is bad.
Deprecated: use GoodF.
</p>
</div>
</details>
</div><div class="Documentation-function">
<h4 tabindex="-1" id="GoodF" data-kind="function" class="Documentation-functionHeader">
<span>func <a class="Documentation-source" href="src">GoodF</a> <a class="Documentation-idLink" href="#GoodF"></a></span>
<span class="Documentation-sinceVersion">
</span>
</h4>
<div class="Documentation-declaration">
<pre>func GoodF()</pre>
</div>
</div></section>
<h3 tabindex="-1" id="pkg-types" class="Documentation-typesHeader">Types <a href="#pkg-types"></a></h3>
<section class="Documentation-types"><div class="Documentation-type">
<details class="Documentation-deprecatedDetails js-deprecatedDetails">
<summary>
<h4 tabindex="-1" id="BadT" data-kind="type" class="Documentation-typeHeader">
<span class="Documentation-deprecatedTitle">
type <a class="Documentation-source" href="src">BadT</a>
<span class="Documentation-deprecatedTag">deprecated</span>
<span class="Documentation-deprecatedBody"></span>
</span>
<span class="Documentation-sinceVersion">
</span>
</h4>
</summary>
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
<div class="Documentation-deprecatedMessage">
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
This type has been deprecated.
</div>
<div class="Documentation-declaration">
<pre>type BadT <a href="/builtin#int">int</a></pre>
</div>
<p>BadT is bad.
Deprecated: use GoodT.
Don&#39;t use this.
</p>
<div class="Documentation-typeFunc">
<details class="Documentation-deprecatedDetails js-deprecatedDetails">
<summary>
<h4 tabindex="-1" id="NewBadTBad" data-kind="function" class="Documentation-typeFuncHeader">
<span class="Documentation-deprecatedTitle">
func <a class="Documentation-source" href="src">NewBadTBad</a>
<span class="Documentation-deprecatedTag">deprecated</span>
<span class="Documentation-deprecatedBody"></span>
</span>
<span class="Documentation-sinceVersion">
</span>
</h4>
</summary>
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
<div class="Documentation-deprecatedMessage">
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
This function has been deprecated.
</div>
<div class="Documentation-declaration">
<pre>func NewBadTBad() <a href="#BadT">BadT</a></pre>
</div>
<p>Deprecated: use NewBadTGood.
</p>
</div>
</details>
</div><div class="Documentation-typeFunc">
<h4 tabindex="-1" id="NewBadTGood" data-kind="function" class="Documentation-typeFuncHeader">
<span>func <a class="Documentation-source" href="src">NewBadTGood</a> <a class="Documentation-idLink" href="#NewBadTGood"></a></span>
<span class="Documentation-sinceVersion">
</span>
</h4>
<div class="Documentation-declaration">
<pre>func NewBadTGood() <a href="#BadT">BadT</a></pre>
</div>
</div><div class="Documentation-typeMethod">
<details class="Documentation-deprecatedDetails js-deprecatedDetails">
<summary>
<h4 tabindex="-1" id="BadT.BadM" data-kind="method" class="Documentation-typeMethodHeader">
<span class="Documentation-deprecatedTitle">
func (BadT) <a class="Documentation-source" href="src">BadM</a>
<span class="Documentation-deprecatedTag">deprecated</span>
<span class="Documentation-deprecatedBody"></span>
</span>
<span class="Documentation-sinceVersion">
</span>
</h4>
</summary>
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
<div class="Documentation-deprecatedMessage">
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
This method has been deprecated.
</div>
<div class="Documentation-declaration">
<pre>func (<a href="#BadT">BadT</a>) BadM()</pre>
</div>
<p>Deprecated: use GoodM.
</p>
</div>
</details>
</div><div class="Documentation-typeMethod">
<h4 tabindex="-1" id="BadT.GoodM" data-kind="method" class="Documentation-typeMethodHeader">
<span>func (BadT) <a class="Documentation-source" href="src">GoodM</a> <a class="Documentation-idLink" href="#BadT.GoodM"></a></span>
<span class="Documentation-sinceVersion">
</span>
</h4>
<div class="Documentation-declaration">
<pre>func (<a href="#BadT">BadT</a>) GoodM()</pre>
</div>
</div>
</div>
</details>
</div><div class="Documentation-type">
<h4 tabindex="-1" id="GoodT" data-kind="type" class="Documentation-typeHeader">
<span>type <a class="Documentation-source" href="src">GoodT</a> <a class="Documentation-idLink" href="#GoodT"></a></span>
<span class="Documentation-sinceVersion">
</span>
</h4>
<div class="Documentation-declaration">
<pre>type GoodT <a href="/builtin#int">int</a></pre>
</div>
<div class="Documentation-typeFunc">
<details class="Documentation-deprecatedDetails js-deprecatedDetails">
<summary>
<h4 tabindex="-1" id="NewGoodTBad" data-kind="function" class="Documentation-typeFuncHeader">
<span class="Documentation-deprecatedTitle">
func <a class="Documentation-source" href="src">NewGoodTBad</a>
<span class="Documentation-deprecatedTag">deprecated</span>
<span class="Documentation-deprecatedBody"></span>
</span>
<span class="Documentation-sinceVersion">
</span>
</h4>
</summary>
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
<div class="Documentation-deprecatedMessage">
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
This function has been deprecated.
</div>
<div class="Documentation-declaration">
<pre>func NewGoodTBad() <a href="#GoodT">GoodT</a></pre>
</div>
<p>NewGoodTBad is bad.
Deprecated: use NewGoodTGood.
</p>
</div>
</details>
</div><div class="Documentation-typeFunc">
<h4 tabindex="-1" id="NewGoodTGood" data-kind="function" class="Documentation-typeFuncHeader">
<span>func <a class="Documentation-source" href="src">NewGoodTGood</a> <a class="Documentation-idLink" href="#NewGoodTGood"></a></span>
<span class="Documentation-sinceVersion">
</span>
</h4>
<div class="Documentation-declaration">
<pre>func NewGoodTGood() <a href="#GoodT">GoodT</a></pre>
</div>
</div><div class="Documentation-typeMethod">
<details class="Documentation-deprecatedDetails js-deprecatedDetails">
<summary>
<h4 tabindex="-1" id="GoodT.BadM" data-kind="method" class="Documentation-typeMethodHeader">
<span class="Documentation-deprecatedTitle">
func (GoodT) <a class="Documentation-source" href="src">BadM</a>
<span class="Documentation-deprecatedTag">deprecated</span>
<span class="Documentation-deprecatedBody"></span>
</span>
<span class="Documentation-sinceVersion">
</span>
</h4>
</summary>
<div class="go-Message go-Message--warning Documentation-deprecatedItemBody">
<div class="Documentation-deprecatedMessage">
<img class="go-Icon" height="24" width="24" src="/static/shared/icon/alert_gm_grey_24dp.svg" alt="">
This method has been deprecated.
</div>
<div class="Documentation-declaration">
<pre>func (<a href="#GoodT">GoodT</a>) BadM()</pre>
</div>
<p>BadM is bad.
Deprecated: use GoodM.
</p>
</div>
</details>
</div><div class="Documentation-typeMethod">
<h4 tabindex="-1" id="GoodT.GoodM" data-kind="method" class="Documentation-typeMethodHeader">
<span>func (GoodT) <a class="Documentation-source" href="src">GoodM</a> <a class="Documentation-idLink" href="#GoodT.GoodM"></a></span>
<span class="Documentation-sinceVersion">
</span>
</h4>
<div class="Documentation-declaration">
<pre>func (<a href="#GoodT">GoodT</a>) GoodM()</pre>
</div>
</div>
</div></section></div>
----
<ul role="group" id="doc-outline">
<li role="none">
<a href="#pkg-overview" role="treeitem" aria-level="2" tabindex="-1"
data-gtmc="doc outline link">Overview</a>
</li>
<li class="DocNav-overview" role="none">
<a href="#pkg-index" role="treeitem" aria-level="2" tabindex="-1" aria-owns="nav-group-index"
data-gtmc="doc outline link">
Index
</a>
</li>
<li class="DocNav-constants" role="none">
<a href="#pkg-constants" role="treeitem" aria-level="2" tabindex="-1"
data-gtmc="doc outline link">
Constants
</a>
</li>
<li class="DocNav-variables" role="none">
<a href="#pkg-variables" role="treeitem" aria-level="2" tabindex="-1"
data-gtmc="doc outline link">
Variables
</a>
</li>
<li class="DocNav-functions" role="none">
<a href="#pkg-functions" role="treeitem" aria-level="2" tabindex="-1" aria-owns="nav-group-functions"
aria-expanded="false" data-gtmc="doc outline link">
Functions
</a>
<ul role="group" id="nav-group-functions">
<li role="none">
<a href="#BadF" role="treeitem" aria-level="3" tabindex="-1"
title="BadF()" data-gtmc="doc outline link">
BadF()
</a>
</li>
<li role="none">
<a href="#GoodF" role="treeitem" aria-level="3" tabindex="-1"
title="GoodF()" data-gtmc="doc outline link">
GoodF()
</a>
</li>
</ul>
</li>
<li class="DocNav-types" role="none">
<a href="#pkg-types" role="treeitem" aria-level="2" tabindex="-1" aria-owns="nav-group-types"
aria-expanded="false" data-gtmc="doc outline link">
Types
</a>
<ul role="group" id="nav-group-types">
<li role="none">
<a href="#BadT" role="treeitem" aria-expanded="false" aria-level="3" tabindex="-1"
data-aria-owns="nav.group.BadT" title="type BadT"
data-gtmc="doc outline link">
type BadT
</a>
<ul role="group" id="nav.group.BadT">
<li role="none">
<a href="#NewBadTBad" role="treeitem" aria-level="4" tabindex="-1"
title="NewBadTBad()" data-gtmc="doc outline link">
NewBadTBad()
</a>
</li>
<li role="none">
<a href="#NewBadTGood" role="treeitem" aria-level="4" tabindex="-1"
title="NewBadTGood()" data-gtmc="doc outline link">
NewBadTGood()
</a>
</li>
<li role="none">
<a href="#BadT.BadM" role="treeitem" aria-level="4" tabindex="-1"
title="BadM()" data-gtmc="doc outline link">
BadM()
</a>
</li>
<li role="none">
<a href="#BadT.GoodM" role="treeitem" aria-level="4" tabindex="-1"
title="GoodM()" data-gtmc="doc outline link">
GoodM()
</a>
</li>
</ul>
</li>
<li role="none">
<a href="#GoodT" role="treeitem" aria-expanded="false" aria-level="3" tabindex="-1"
data-aria-owns="nav.group.GoodT" title="type GoodT"
data-gtmc="doc outline link">
type GoodT
</a>
<ul role="group" id="nav.group.GoodT">
<li role="none">
<a href="#NewGoodTBad" role="treeitem" aria-level="4" tabindex="-1"
title="NewGoodTBad()" data-gtmc="doc outline link">
NewGoodTBad()
</a>
</li>
<li role="none">
<a href="#NewGoodTGood" role="treeitem" aria-level="4" tabindex="-1"
title="NewGoodTGood()" data-gtmc="doc outline link">
NewGoodTGood()
</a>
</li>
<li role="none">
<a href="#GoodT.BadM" role="treeitem" aria-level="4" tabindex="-1"
title="BadM()" data-gtmc="doc outline link">
BadM()
</a>
</li>
<li role="none">
<a href="#GoodT.GoodM" role="treeitem" aria-level="4" tabindex="-1"
title="GoodM()" data-gtmc="doc outline link">
GoodM()
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
----
<optgroup label="Documentation">
<option value="pkg-overview">Overview</option>
<option value="pkg-index">Index</option>
<option value="pkg-constants">Constants</option>
<option value="pkg-variables">Variables</option>
</optgroup>
<optgroup label="Functions">
<option value="BadF">BadF()</option>
<option value="GoodF">GoodF()</option>
</optgroup>
<optgroup label="Types">
<option value="BadT">type BadT</option>
<option value="NewBadTBad">NewBadTBad()</option>
<option value="NewBadTGood">NewBadTGood()</option>
<option value="BadT.BadM">BadM()</option>
<option value="BadT.GoodM">GoodM()</option>
<option value="GoodT">type GoodT</option>
<option value="NewGoodTBad">NewGoodTBad()</option>
<option value="NewGoodTGood">NewGoodTGood()</option>
<option value="GoodT.BadM">BadM()</option>
<option value="GoodT.GoodM">GoodM()</option>
</optgroup>