Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SVCNotFound = []byte(`<svg width="580" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
<g>
<title>background</title>
<rect fill="#fff" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
<g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
<rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
</g>
</g>
<g>
<title>Layer 1</title>
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="24" id="svg_1" y="68.453125" x="62.5" stroke-width="0" stroke="#000" fill="#000000">User not found</text>
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="24" id="svg_4" y="149.453125" x="62.5" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#000000">https://github.com/haozibi/leetcode-badge</text>
</g>
</svg>`)
View Source
var SVGLackData = []byte(`<svg width="580" height="400" xmlns="http://www.w3.org/2000/svg">
<!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
<g>
<title>background</title>
<rect fill="#fff" id="canvas_background" height="402" width="582" y="-1" x="-1"/>
<g display="none" overflow="visible" y="0" x="0" height="100%" width="100%" id="canvasGrid">
<rect fill="url(#gridpattern)" stroke-width="0" y="0" x="0" height="100%" width="100%"/>
</g>
</g>
<g>
<title>Layer 1</title>
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="24" id="svg_1" y="68.453125" x="62.5" stroke-width="0" stroke="#000" fill="#000000">Lack of data</text>
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="24" id="svg_3" y="106.453125" x="59.5" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#000000">At least two days of data</text>
<text xml:space="preserve" text-anchor="start" font-family="Helvetica, Arial, sans-serif" font-size="24" id="svg_4" y="149.453125" x="58.5" fill-opacity="null" stroke-opacity="null" stroke-width="0" stroke="#000" fill="#000000">https://github.com/haozibi/leetcode-badge</text>
</g>
</svg>`)
Functions ¶
Types ¶
type WaitGroupWrapper ¶ added in v0.3.0
WaitGroupWrapper wrap sync.WaitGroup
func (*WaitGroupWrapper) Wrap ¶ added in v0.3.0
func (w *WaitGroupWrapper) Wrap(cb func())
Wrap wrap
Click to show internal directories.
Click to hide internal directories.