Add validation package #19

Merged
xbazzi merged 5 commits from issue-7 into master 2025-02-13 22:10:24 -07:00
Owner

Closes #7

Added a simple validation package we can expand on. For now we can use it to validate links that get sent to the bot and make sure that:

  1. It's an actual url
  2. It's a url for a service we support

Also added a make file to run tests and other tasks we might need in the future.

Added a github action to run tests.

Closes #7 Added a simple validation package we can expand on. For now we can use it to validate links that get sent to the bot and make sure that: 1. It's an actual url 2. It's a url for a service we support Also added a make file to run tests and other tasks we might need in the future. Added a github action to run tests.
javif89 added 1 commit 2025-02-08 22:28:31 -07:00
Add validation package
All checks were successful
Run Go Tests / Run Tests (pull_request) Successful in 13m35s
d9be5a78c8
javif89 added 1 commit 2025-02-08 22:49:53 -07:00
Update readme
All checks were successful
Run Go Tests / Run Tests (pull_request) Successful in 11m54s
999758c790
xbazzi was assigned by javif89 2025-02-08 22:55:46 -07:00
javif89 added 1 commit 2025-02-13 21:55:24 -07:00
Small fixes
All checks were successful
Run Go Tests / Run Tests (pull_request) Successful in 11m38s
e5aa8fe187
javif89 added 1 commit 2025-02-13 21:56:12 -07:00
Remove log
Some checks failed
Run Go Tests / Run Tests (pull_request) Has been cancelled
b6b6db6457
javif89 added 1 commit 2025-02-13 21:57:09 -07:00
Remove log
Some checks failed
Run Go Tests / Run Tests (pull_request) Has been cancelled
69f8a58f37
Owner

lgmt af

lgmt af
xbazzi scheduled this pull request to auto merge when all checks succeed 2025-02-13 22:08:07 -07:00
xbazzi approved these changes 2025-02-13 22:10:22 -07:00
xbazzi left a comment
Owner

yeee

yeee
@ -0,0 +15,4 @@
// Music hosts that we support
var musicHosts = []string{
"youtube.com",
Owner

www.youtube.com

`www.youtube.com`
xbazzi merged commit 7e55444346 into master 2025-02-13 22:10:24 -07:00
xbazzi referenced this issue from a commit 2025-02-13 22:10:26 -07:00
Sign in to join this conversation.
No description provided.