Skip to content

could not import fmt #105

Description

@foolusion

I'm getting an error when I run proteus on a very basic example package.

[aoneill@foolxps blah]$ proteus proto -f $HOME/src/aponeill.com/blah/blahpb -p aponeill.com/blah
error scanning package "aponeill.com/blah": /home/aoneill/src/aponeill.com/blah/blah.go:3:8: could not import fmt (/home/aoneill/go-tip/src/fmt/format.go:8:2: could not import strconv (/home/aoneill/go-tip/src/strconv/atof.go:13:8: could not import math (/home/aoneill/go-tip/src/map

the blah package just includes

package blah // import "aponeill.com/blah"

import "fmt"

//proteus:generate
type Blah struct {
        Name string
}

//proteus:generate
func (b *Blah) Blaher() {
        fmt.Println("blah")
}

any idea what is going on here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions