You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: godep.go
    path of file: ./repos/glide/godep
    
    the code of the file until where you have to start completion: // Package godep provides basic importing of Godep dependencies.
//
// This is not a complete implementation of Godep.
package godep

import (
	"encoding/json"
	"os"
	"path/filepath"
	"strings"

	"github.com/Masterminds/glide/cfg"
	"github.com/Masterm
    
func RemoveGodepSubpackages(c *cfg.Config) *cfg.Config {
	for _, d := range c.Imports {
		n := []string{}
		for _, v := range d.Subpackages {
			if !strings.HasPrefix(v, "Godeps/_workspace/src") {
				n = append(n, v)
			}
		}
		d.Subpackages = n
	}

	for _, d := range c.DevImports {
		n := []string{}
		for _, v := range d.Subpackages {
			if !strings.HasPrefix(v, "Godeps/_workspace/src") {
				n = append(n, v)
			}
		}
		d.Subpackages = n
	}

	return c
}