mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
2a07e91be6
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
22 lines
699 B
TypeScript
22 lines
699 B
TypeScript
import type { ProgrammingLanguage } from '../../../constants';
|
|
import { GoDatasource } from '../../datasource/go';
|
|
import { GolangVersionDatasource } from '../../datasource/golang-version';
|
|
import { updateArtifacts } from './artifacts';
|
|
import { extractPackageFile } from './extract';
|
|
import { updateDependency } from './update';
|
|
|
|
export { extractPackageFile, updateDependency, updateArtifacts };
|
|
|
|
export const displayName = 'Go Modules';
|
|
export const url = 'https://go.dev/ref/mod';
|
|
|
|
export const language: ProgrammingLanguage = 'golang';
|
|
|
|
export const defaultConfig = {
|
|
fileMatch: ['(^|/)go\\.mod$'],
|
|
};
|
|
|
|
export const supportedDatasources = [
|
|
GoDatasource.id,
|
|
GolangVersionDatasource.id,
|
|
];
|