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

chore: unnecessary use of fmt.Sprintf #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion examples/KoreanExample/koreanExample.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// 이 예제는 백준 코딩 테스트의 쉬운 문제입니다.

func main() {
url := fmt.Sprintf("https://www.acmicpc.net/problem/1000")
url := "https://www.acmicpc.net/problem/1000"
// url의 마지막 숫자에 1000이외에 다른 숫자를 추가시키면,
// 다른 문제가 등장합니다.

Expand Down
2 changes: 1 addition & 1 deletion examples/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func main() {
// Handle as required!
}

url := fmt.Sprintf("https://xkcd.com/50")
url := "https://xkcd.com/50"
xkcd, err := soup.Get(url)
if err != nil {
// Handle it
Expand Down