package main
import "fmt"
// Deprecated function
// deprecated: "use NewFunction instead"
func OldFunction() {
fmt.Println("This is the deprecated function. Use NewFunction instead.")
NewFunction()
}
// New function
func NewFunction() {
fmt.Println("This is the new function.")
}
func main() {
// Call the deprecated function
OldFunction()
// Call the new function directly
NewFunction()
}
CnBhY2thZ2UgbWFpbgoKaW1wb3J0ICJmbXQiCgovLyBEZXByZWNhdGVkIGZ1bmN0aW9uCi8vIGRlcHJlY2F0ZWQ6ICJ1c2UgTmV3RnVuY3Rpb24gaW5zdGVhZCIKCmZ1bmMgT2xkRnVuY3Rpb24oKSB7CiAgICBmbXQuUHJpbnRsbigiVGhpcyBpcyB0aGUgZGVwcmVjYXRlZCBmdW5jdGlvbi4gVXNlIE5ld0Z1bmN0aW9uIGluc3RlYWQuIikKICAgIE5ld0Z1bmN0aW9uKCkKfQoKLy8gTmV3IGZ1bmN0aW9uCmZ1bmMgTmV3RnVuY3Rpb24oKSB7CiAgICBmbXQuUHJpbnRsbigiVGhpcyBpcyB0aGUgbmV3IGZ1bmN0aW9uLiIpCn0KCmZ1bmMgbWFpbigpIHsKICAgIC8vIENhbGwgdGhlIGRlcHJlY2F0ZWQgZnVuY3Rpb24KICAgIE9sZEZ1bmN0aW9uKCkKCiAgICAvLyBDYWxsIHRoZSBuZXcgZnVuY3Rpb24gZGlyZWN0bHkKICAgIE5ld0Z1bmN0aW9uKCkKfQo=