Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7b3de8f

Browse files
committedApr 16, 2023
style: Use fmt.Printf() instead of fmt.Print(fmt.Sprintf())
1 parent 82bb6ee commit 7b3de8f

File tree

1 file changed

+1
-1
lines changed
  • cmd/update-plex-ipv6-access-url/internal/config

1 file changed

+1
-1
lines changed
 

‎cmd/update-plex-ipv6-access-url/internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (c *Config) ReadValuesIfMissing() error {
7575

7676
func getInput(prompt string) (string, error) {
7777
reader := bufio.NewReader(os.Stdin)
78-
fmt.Print(fmt.Sprintf("%s: ", prompt))
78+
fmt.Printf("%s: ", prompt)
7979
input, err := reader.ReadString('\n')
8080
if err != nil {
8181
return "", err

0 commit comments

Comments
 (0)
Please sign in to comment.