INNER CODE UNIT · Go

allModules

yarpc/yarpc-go · encoding/thrift/thriftrw-plugin-yarpc/main.go:169

	allModules := make(map[string]*api.Module, len(req.Modules))
	for _, m := range req.Modules {
		if m == nil {
			continue
		}
		allModules[filepath.Clean(m.GetThriftFilePath())] = m
	}

	for _, moduleID := range req.RootModules {
		module := req.Modules[moduleID]
		compiledModule, err := getCompiledModule(module.GetThriftFilePath())
		if err != nil {
			return nil, err
		}
		data := moduleTemplateData{
			Module:            module,
			ContextImportPath: *_context,
			CompiledModule:    compiledModule,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…