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

feat: remove deprecated endpoints #436

Merged
merged 7 commits into from
Oct 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: remove obsolete data flag
  • Loading branch information
x1unix committed Oct 6, 2024
commit 2107e52fdcde69e1ab808f7b97093ee6a12e48ef
4 changes: 2 additions & 2 deletions internal/server/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/http"
"strings"

"github.com/x1unix/go-playground/internal/analyzer"
"github.com/x1unix/go-playground/pkg/goplay"
"github.com/x1unix/go-playground/pkg/monaco"
)

const (
Expand Down Expand Up @@ -80,7 +80,7 @@ type SuggestionsResponse struct {
DeprecatedHeader

// Suggestions are list of suggestions for monaco
Suggestions []*analyzer.CompletionItem `json:"suggestions"`
Suggestions []monaco.CompletionItem `json:"suggestions"`
}

// Write writes data to response
Expand Down