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: admin-policy-create.go
    path of file: ./repos/mc/cmd
    
    the code of the file until where you have to start completion: // Copyright (c) 2015-2022 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foun
    
func (u userPolicyMessage) String() string {
	switch u.op {
	case "info":
		buf, e := json.MarshalIndent(u.PolicyInfo, "", " ")
		fatalIf(probe.NewError(e), "Unable to marshal to JSON.")
		return string(buf)
	case "list":
		return console.Colorize("PolicyName", u.Policy)
	case "remove":
		return console.Colorize("PolicyMessage", "Removed policy `"+u.Policy+"` successfully.")
	case "create":
		return console.Colorize("PolicyMessage", "Created policy `"+u.Policy+"` successfully.")
	case "detach":
		return console.Colorize("PolicyMessage",
			fmt.Sprintf("Policy `%s` successfully detached from %s `%s`", u.Policy, u.accountType(), u.UserOrGroup))
	case "attach":
		return console.Colorize("PolicyMessage",
			fmt.Sprintf("Policy `%s` successfully attached to %s `%s`", u.Policy, u.accountType(), u.UserOrGroup))
	}

	return ""
}