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: testcontext.go
    path of file: ./repos/wal-g/tests_func
    
    the code of the file until where you have to start completion: package functests

import (
	"context"
	"fmt"
	"os"
	"path"
	"strconv"
	"strings"
	"time"

	"github.com/wal-g/trace
    
func (tctx *TestContext) LoadEnv() (err error) {
	if tctx.Env == nil {
		tctx.Env, err = ReadEnv(tctx.EnvFilePath)
		if err != nil {
			return err
		}
	}

	// mix os.environ to our database params
	tctx.Env = utils.MergeEnvs(tctx.Env, utils.ParseEnvLines(os.Environ()))
	tctx.Infra = InfraFromTestContext(tctx)
	return tctx.Infra.Setup()
}