Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running server #10

Closed
mbokinala opened this issue Jul 29, 2021 · 3 comments
Closed

Error when running server #10

mbokinala opened this issue Jul 29, 2021 · 3 comments

Comments

@mbokinala
Copy link

mbokinala commented Jul 29, 2021

When I run the server as described in the readme, I get the following errors:

$ go run cmd/apollo.go

# github.com/amirgamil/apollo/pkg/apollo/sources
pkg/apollo/sources/kindle.go:50:2: undefined: ensureFileExists
pkg/apollo/sources/kindle.go:66:3: undefined: deleteFiles
pkg/apollo/sources/kindle.go:121:11: undefined: getFilesInFolder
@mbokinala
Copy link
Author

Here is my tree structure, I'm not sure if it's relevant:

.
├── LICENSE
├── README.md
├── cmd
│   └── apollo.go
├── docs
│   ├── Screen\ Shot\ 2021-07-25\ at\ 4.36.15\ PM.png
│   ├── apollo.png
│   └── architecture.png
├── go.mod
├── go.sum
├── pkg
│   └── apollo
│       ├── backend
│       │   ├── api.go
│       │   ├── searcher.go
│       │   └── tokenizer.go
│       ├── data
│       ├── schema
│       │   ├── crawler.go
│       │   └── schema.go
│       ├── server.go
│       └── sources
│           ├── athena.go
│           ├── kindle.go
│           ├── source.go
│           └── zeus.go
├── static
│   ├── css
│   │   └── stylesheet.css
│   ├── img
│   │   ├── about.png
│   │   ├── add.png
│   │   └── home.png
│   ├── index.html
│   └── js
│       ├── main.js
│       └── poseidon.min.js
└── tests
    └── main_test.go

13 directories, 26 files

@amirgamil
Copy link
Owner

Try the latest commit, added the file which I'd forgotten, sorry about that :)

@mbokinala
Copy link
Author

The error is gone, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants