summaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/go.py
diff options
context:
space:
mode:
authorarcadia-devtools <[email protected]>2022-06-09 14:39:19 +0300
committerarcadia-devtools <[email protected]>2022-06-09 14:39:19 +0300
commitc04b663c7bb4b750deeb8f48f620497ec13da8fa (patch)
tree151ebc8bfdd2ad918caf5e6e2d8013e14272ddf8 /contrib/python/Pygments/py3/pygments/lexers/go.py
parent0d55ca22c507d18c2f35718687e0b06d9915397b (diff)
intermediate changes
ref:2d4f292087954c9344efdabb7b2a67f466263c65
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/go.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/lexers/go.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/go.py b/contrib/python/Pygments/py3/pygments/lexers/go.py
index 33a57ce8134..ce214bc5444 100644
--- a/contrib/python/Pygments/py3/pygments/lexers/go.py
+++ b/contrib/python/Pygments/py3/pygments/lexers/go.py
@@ -4,7 +4,7 @@
Lexers for the Google Go language.
- :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -19,17 +19,16 @@ __all__ = ['GoLexer']
class GoLexer(RegexLexer):
"""
- For `Go <http://golang.org>`_ source.
+ For Go source.
.. versionadded:: 1.2
"""
name = 'Go'
+ url = 'https://go.dev/'
filenames = ['*.go']
aliases = ['go', 'golang']
mimetypes = ['text/x-gosrc']
- flags = re.MULTILINE | re.UNICODE
-
tokens = {
'root': [
(r'\n', Whitespace),