Skip to content

Commit

Permalink
fix paths for importing module
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Apr 21, 2024
1 parent 2c17918 commit 0a3f88c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 24 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
- name: Build and Run Scholar-Example Tests
run: |
cd scholar-example
go work use .
go build
go test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This tool is inspired by [scholar.py](https://github.com/ckreibich/scholar.py)

# Usage
```
import "github.com/compscidr/scholar"
import "github.com/compscidr/scholar/scholar"
sch := scholar.New()
articles := sch.QueryProfile("SbUmSEAAAAAJ", 1)
Expand Down
6 changes: 0 additions & 6 deletions go.work

This file was deleted.

15 changes: 0 additions & 15 deletions go.work.sum

This file was deleted.

2 changes: 1 addition & 1 deletion scholar-example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"flag"
"fmt"
"github.com/compscidr/scholar"
"github.com/compscidr/scholar/scholar"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion scholar/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/compscidr/scholar
module github.com/compscidr/scholar/scholar

go 1.22.2

Expand Down

0 comments on commit 0a3f88c

Please sign in to comment.