From 2107ae19483fd7b87907189bbdf7a11dbe5b218d Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Mon, 1 Oct 2018 14:05:04 +0200
Subject: [PATCH] fix: rename go -> golang

---
 lib/config/definitions.js             | 2 +-
 lib/manager/gomod/index.js            | 2 +-
 lib/manager/index.js                  | 2 +-
 website/docs/configuration-options.md | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/config/definitions.js b/lib/config/definitions.js
index 69d410a4cd..54b8a69e86 100644
--- a/lib/config/definitions.js
+++ b/lib/config/definitions.js
@@ -956,7 +956,7 @@ const options = [
     mergeable: true,
   },
   {
-    name: 'go',
+    name: 'golang',
     description: 'Configuration object for Go language',
     stage: 'package',
     type: 'json',
diff --git a/lib/manager/gomod/index.js b/lib/manager/gomod/index.js
index a128563cde..dec0629422 100644
--- a/lib/manager/gomod/index.js
+++ b/lib/manager/gomod/index.js
@@ -6,5 +6,5 @@ module.exports = {
   extractDependencies,
   updateDependency,
   getArtifacts,
-  language: 'go',
+  language: 'golang',
 };
diff --git a/lib/manager/index.js b/lib/manager/index.js
index 4779ecf24d..89a8d865c8 100644
--- a/lib/manager/index.js
+++ b/lib/manager/index.js
@@ -21,7 +21,7 @@ for (const manager of managerList) {
   managers[manager] = require(`./${manager}`);
 }
 
-const languageList = ['docker', 'go', 'js', 'node', 'php', 'python'];
+const languageList = ['docker', 'golang', 'js', 'node', 'php', 'python'];
 
 const get = (manager, name) => managers[manager][name];
 const getLanguageList = () => languageList;
diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md
index 2d3f65dee3..34922ad756 100644
--- a/website/docs/configuration-options.md
+++ b/website/docs/configuration-options.md
@@ -215,7 +215,7 @@ The primary use case for this option is if you are following a pre-release tag o
 
 Add to this configuration setting if you need to override any of the GitLab CI default settings. Use the `docker` config object instead if you wish for configuration to apply across all Docker-related package managers.
 
-## go
+## golang
 
 Configuration added here applies for all Go-related updates, however currently the only supported package manager for Go is the native Go Modules (`go mod`).
 
-- 
GitLab