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: conf_mod_trust_clientip.go
    path of file: ./repos/bfe/bfe_modules/mod_trust_clientip
    
    the code of the file until where you have to start completion: // Copyright (c) 2019 The BFE Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl
    
func ConfLoad(filePath string, confRoot string) (*ConfModTrustClientIP, error) {
	var cfg ConfModTrustClientIP
	var err error

	// read config from file
	err = gcfg.ReadFileInto(&cfg, filePath)
	if err != nil {
		return &cfg, err
	}

	// check conf of mod_trust_clientip
	err = cfg.Check(confRoot)
	if err != nil {
		return &cfg, err
	}

	return &cfg, nil
}