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: mock_pcf.go
    path of file: ./repos/magma/feg/gateway/sbi/mocks
    
    the code of the file until where you have to start completion: package mocks

import (
	"net/http"

	"magma/feg/gateway/sbi"
	sbi_NpcfSMPolicyControlServer "magma/feg/gateway/sbi/specs/TS29512NpcfSMPolicyControlServer"

	"github.com/labstack/echo/v4"
)

const (
	POLICY_ID1 = "1234"
)

type MockPcf struct {
	*sbi.EchoServer
	policies map[string]sbi_NpcfSMPolicyControlSer
    
func (pcf *MockPcf) PostSmPolicies(ctx echo.Context) error {
	var newPolicy sbi_NpcfSMPolicyControlServer.SmPolicyContextData
	err := ctx.Bind(&newPolicy)
	if err != nil {
		return ctx.NoContent(http.StatusBadRequest)
	}

	var policy sbi_NpcfSMPolicyControlServer.SmPolicyControl
	policy.Context = newPolicy

	pcf.policies[POLICY_ID1] = policy

	return ctx.NoContent(http.StatusOK)
}