Black Lives Matter. Support the Equal Justice Initiative.

Source file src/cmd/go/internal/modconv/modconv.go

Documentation: cmd/go/internal/modconv

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package modconv
     6  
     7  import "golang.org/x/mod/modfile"
     8  
     9  var Converters = map[string]func(string, []byte) (*modfile.File, error){
    10  	"GLOCKFILE":          ParseGLOCKFILE,
    11  	"Godeps/Godeps.json": ParseGodepsJSON,
    12  	"Gopkg.lock":         ParseGopkgLock,
    13  	"dependencies.tsv":   ParseDependenciesTSV,
    14  	"glide.lock":         ParseGlideLock,
    15  	"vendor.conf":        ParseVendorConf,
    16  	"vendor.yml":         ParseVendorYML,
    17  	"vendor/manifest":    ParseVendorManifest,
    18  	"vendor/vendor.json": ParseVendorJSON,
    19  }
    20  

View as plain text