|
194 | 194 | margin-top: 5em; |
195 | 195 | } |
196 | 196 |
|
197 | | - {{- /* Highlights based on stack.Location value. |
198 | | - TODO(maruel): Redo the color selection as part of |
199 | | - https://github.com/maruel/panicparse/issues/26 |
200 | | - */ -}} |
| 197 | + {{- /* Highlights based on stack.Location value. */ -}} |
201 | 198 | .FuncMain { |
202 | | - color: #808000; |
203 | | - } |
204 | | - .FuncLocationUnknownExported { |
205 | | - color: #00B000; |
| 199 | + color: #880; |
206 | 200 | } |
207 | 201 | .FuncLocationUnknown { |
208 | | - color: #00B000; |
209 | | - } |
210 | | - .FuncGoModExported { |
211 | | - color: #C00000; |
| 202 | + color: #888; |
212 | 203 | } |
213 | 204 | .FuncGoMod { |
214 | | - color: #800000; |
215 | | - } |
216 | | - .FuncGOPATHExported { |
217 | | - color: #C00000; |
| 205 | + color: #800; |
218 | 206 | } |
219 | 207 | .FuncGOPATH { |
220 | | - color: #800000; |
221 | | - } |
222 | | - .FuncGoPkgExported { |
223 | | - color: #C00000; |
| 208 | + color: #109090; |
224 | 209 | } |
225 | 210 | .FuncGoPkg { |
226 | | - color: #800000; |
227 | | - } |
228 | | - .FuncStdlibExported { |
229 | | - color: #00B000; |
| 211 | + color: #008; |
230 | 212 | } |
231 | 213 | .FuncStdlib { |
232 | | - color: #006000; |
| 214 | + color: #080; |
| 215 | + } |
| 216 | + .Exported { |
| 217 | + font-weight: 700; |
233 | 218 | } |
234 | 219 | </style> |
235 | 220 | <div id="content"> |
|
309 | 294 | <td> |
310 | 295 | Go module |
311 | 296 | <span class="tooltip">Sources located inside a directory containing a |
312 | | - go.mod file but outside $GOPATH.</span> |
| 297 | + <strong>go.mod</strong> file but outside $GOPATH.</span> |
313 | 298 | </td> |
314 | | - <td class="FuncGoModExported">pkg.Foo()</td> |
| 299 | + <td class="FuncGoMod Exported">pkg.Foo()</td> |
315 | 300 | <td class="FuncGoMod">pkg.foo()</td> |
316 | 301 | </tr> |
317 | 302 | <tr class="call hastooltip"> |
|
320 | 305 | <span class="tooltip">Sources located inside the traditional $GOPATH/src |
321 | 306 | directory.</span> |
322 | 307 | </td> |
323 | | - <td class="FuncGOPATHExported">pkg.Foo()</td> |
| 308 | + <td class="FuncGOPATH Exported">pkg.Foo()</td> |
324 | 309 | <td class="FuncGOPATH">pkg.foo()</td> |
325 | 310 | </tr> |
326 | 311 | <tr class="call hastooltip"> |
327 | 312 | <td> |
328 | | - Go module dependency |
| 313 | + $GOPATH/pkg/mod/... |
329 | 314 | <span class="tooltip">Sources located inside the go module dependency |
330 | 315 | cache under $GOPATH/pkg/mod. These files are unmodified third parties.</span> |
331 | 316 | </td> |
332 | | - <td class="FuncGoPkgExported">pkg.Foo()</td> |
| 317 | + <td class="FuncGoPkg Exported">pkg.Foo()</td> |
333 | 318 | <td class="FuncGoPkg">pkg.foo()</td> |
334 | 319 | </tr> |
335 | 320 | <tr class="call hastooltip"> |
|
338 | 323 | <span class="tooltip">Sources from the Go standard library under |
339 | 324 | $GOROOT/src/.</span> |
340 | 325 | </td> |
341 | | - <td class="FuncStdlibExported">pkg.Foo()</td> |
| 326 | + <td class="FuncStdlib Exported">pkg.Foo()</td> |
342 | 327 | <td class="FuncStdlib">pkg.foo()</td> |
343 | 328 | </tr> |
344 | 329 | <tr class="call hastooltip"> |
|
347 | 332 | <span class="tooltip">Sources which location was not successfully |
348 | 333 | determined.</span> |
349 | 334 | </td> |
350 | | - <td class="FuncLocationUnknownExported">pkg.Foo()</td> |
| 335 | + <td class="FuncLocationUnknown Exported">pkg.Foo()</td> |
351 | 336 | <td class="FuncLocationUnknown">pkg.foo()</td> |
352 | 337 | </tr> |
353 | 338 | </table> |
|
0 commit comments