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: redirect.go
    path of file: ./repos/gluetun/internal/firewall
    
    the code of the file until where you have to start completion: package firewall

import (
	"context"
	"fmt"
)

// RedirectPort redirects a sourc
    
func (p *portRedirections) remove(intf string, sourcePort uint16) {
	slice := *p
	for i, redirection := range slice {
		interfaceMatch := intf == "" || intf == redirection.interfaceName
		if redirection.sourcePort == sourcePort && interfaceMatch {
			// Remove redirection - note: order does not matter
			slice[i] = slice[len(slice)-1]
			slice = slice[:len(slice)-1]
		}
	}
	*p = slice
}