-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
FrozenDueToAgeLanguageChangeSuggested changes to the Go languageSuggested changes to the Go languageProposalWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.v2An incompatible library changeAn incompatible library change
Milestone
Description
There is already builtin functions for print, print and println, but for formatted data, we must import fmt for Printf function, so I propose to add printf function without import fmt each time.
func printf(f string, args ...Type)For string build and formatted, we can also add string print functions.
func sprint(args ...Type) string
func sprintf(f string, ...Type) string
func sprintln(args ...Type) stringor the single format builtin function
func format(f string, arg ...Type) stringdavecheney, D1CED, tklauser, greenhat616, seankhliao and 14 more
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeLanguageChangeSuggested changes to the Go languageSuggested changes to the Go languageProposalWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.Issue is not actionable because of missing required information, which needs to be provided.v2An incompatible library changeAn incompatible library change