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: truncate_file.go
    path of file: ./repos/Cookbook/go/files
    
    the code of the file until where you have to start completion: package main

import (
	"log"
	"os"
)

func main() {
	//
    
func main() {
	// Truncate a file to 100 bytes. If file
	// is less than 100 bytes the rest of space is
	// filled will null bytes. If it is over 100 bytes,
	// Everything past 100 bytes will be lost. Either way
	// we will end up with exactly 100 bytes.
	// Pass in 0 to truncate to a completely empty file
	err := os.Truncate("test.txt", 0)
	if err != nil {
		log.Fatal(err)
	}
}