Skip to content

Usage of package XYZ without selector #1420

Closed
@dlsniper

Description

@dlsniper

The third parameter to fmt.Printf() should be flagged with an error saying: "Usage of package time without selector"

package main

import (
    "fmt"
    "time"
)

func main() {
    fmt.Printf("%s - %s\n", time.Now().Format(time.RFC3339), time)
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions