O
O
Oleg Komenda2018-04-06 15:43:38
go
Oleg Komenda, 2018-04-06 15:43:38

The go file is not imported, why?

https://repl.it/repls/ChillyHumblePackage
What's wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
devalone, 2018-04-06
@rafamont

So you didn't import it

import (
        "bufio"
        "fmt"
        "os"
)

change to
import (
        "./models"
        "bufio"
        "fmt"
        "os"
)

And the GetSalary method should return, not display the salary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question