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: pprof.go
    path of file: ./repos/temporal/common/pprof
    
    the code of the file until where you have to start completion: // The MIT License
//
// Copyright (c) 2020 Temporal Tech
    
func (initializer *PProfInitializerImpl) Start() error {
	port := initializer.PProf.Port
	if port == 0 {
		initializer.Logger.Info("PProf not started due to port not set")
		return nil
	}
	host := initializer.PProf.Host
	if host == "" {
		// default to localhost which will favor ipv4 on dual stack
		// environments - configure host as `::1` to bind on ipv6 localhost
		host = "localhost"
	}

	hostPort := net.JoinHostPort(host, fmt.Sprint(port))

	if atomic.CompareAndSwapInt32(&pprofStatus, pprofNotInitialized, pprofInitialized) {
		go func() {
			initializer.Logger.Info("PProf listen on ", tag.Host(host), tag.Port(port))
			err := http.ListenAndServe(hostPort, nil)
			if err != nil {
				initializer.Logger.Error("listen and serve err", tag.Error(err))
			}
		}()
	}
	return nil
}