biter777/countries

View on GitHub
example/countries_example.go

Summary

Maintainability
A
0 mins
Test Coverage

Function main has 58 lines of code (exceeds 50 allowed). Consider refactoring.
Invalid

func main() {
    countryJapan := countries.Japan
    fmt.Printf("Country name in english: %v\n", countryJapan)                   // Japan
    fmt.Printf("Country name in russian: %v\n", countryJapan.StringRus())       // Япония
    fmt.Printf("Country ISO-3166 digit code: %d\n", countryJapan)               // 392
Severity: Minor
Found in example/countries_example.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status