在另一个方法中未解析的方法调用引用

I want to call two methods(seedAccounts and initializeBucket) from the Seed method. Is there a way to do it? It keeps saying "Unresolved reference".

Here is the code

type BoltClient struct {
    boltDB *bolt.DB
}

func (bc *BoltClient) Seed() {
    initializeBucket() //unresolved reference initializeBucket
    seedAccounts() // unresolved reference seedAccounts
}

func (bc *BoltClient) initializeBucket() {
    //Code
}

func (bc *BoltClient) seedAccounts() {
    //Code
}

initializeBucket() and seedAccounts() are methods of type BoltClient, quick fix:

func (bc *BoltClient) Seed() {
     bc.initializeBucket() 
     bc.seedAccounts()
}