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: template_cgo.go
    path of file: ./repos/qt/internal/binding/templater
    
    the code of the file until where you have to start completion: package templater

import (
	"bytes"
	"fmt"
	"os"
	"path/filepath"
	"strings"

	"
    
func cleanLibs(module string, mode int) []string {

	var out []string

	switch {
	case mode == RCC:
		out = []string{"Core"}
	case mode == MOC, module == "build_static":
		out = parser.LibDeps[module]
	case mode == MINIMAL, mode == NONE:
		out = append([]string{module}, parser.LibDeps[module]...)
	}

	for i, v := range out {
		if v == "Speech" {
			out[i] = "TextToSpeech"
		}
	}
	return out
}