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

import (
	"bytes"
	"encoding/json"
	"fmt"
	"os"
	"os/exec"
	"path/filepath"
	"runtime"
	"strings"

	"github.com/therecipe/qt/internal/cmd/rcc"
	"github.com/therecipe/qt/internal/utils"
)

//linux

func linux_sh(target, name string) string {
	bb := new(bytes.Buffer)
	defer bb.Reset()

	fmt.Fprint(bb, "#!/bin/bash\n")
	fmt.Fprint(bb, "appname=`basename $0 | sed s,\\.sh$,,`\n\n")
	fmt.Fprint(bb, "dirname=`dirname $0`\n")
	fmt.Fprint(bb, "tmp=\"${dirname#?}\"\n\n")
	fmt.Fprint(bb, "if [ \"${dirname%$
    
func sailfish_spec(name string) string {
	return fmt.Sprintf(`#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.27
#

Name:       harbour-%[1]v

# >> macros
# << macros

Summary:    Put your summary here
Version:    0.1
Release:    1
Group:      Qt/Qt
License:    MIT
Source0:    %%{name}-%%{version}.tar.bz2

%%description
Put your description here


%%prep
%%setup -q -n %%{name}-%%{version}

# >> setup
# << setup

%%build
# >> build pre
# << build pre

# >> build post
# << build post

%%install
rm -rf %%{buildroot}
# >> install pre
# << install pre
install -d %%{buildroot}%%{_bindir}
install -p -m 0755 %%(pwd)/%%{name} %%{buildroot}%%{_bindir}/%%{name}
install -d %%{buildroot}%%{_datadir}/applications
install -d %%{buildroot}%%{_datadir}/%%{name}
install -d %%{buildroot}%%{_datadir}/icons/hicolor/86x86/apps
install -m 0444 -t %%{buildroot}%%{_datadir}/icons/hicolor/86x86/apps %%{name}.png
install -p %%(pwd)/%[1]v.desktop %%{buildroot}%%{_datadir}/applications/%%{name}.desktop

# >> install post
# << install post

desktop-file-install --delete-original       \
  --dir %%{buildroot}%%{_datadir}/applications             \
   %%{buildroot}%%{_datadir}/applications/%%{name}.desktop

%%files
%%defattr(-,root,root,-)
%%{_bindir}
%%{_datadir}/%%{name}
%%{_datadir}/icons/hicolor/86x86/apps
%%{_datadir}/applications/%%{name}.desktop

# >> files
# << files`, name)
}