Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Update nvidia-clerk.go (#168)
Browse files Browse the repository at this point in the history
changed cart url to go directly to the product page
  • Loading branch information
redstone2019 committed Oct 1, 2020
1 parent bb49f2c commit b75798e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/nvidia-clerk/nvidia-clerk.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,13 @@ func main() {
var cartURL string
switch model {
case "2060":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/20-series/", config.NvidiaLocale)
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/rtx-%s-super/", config.NvidiaLocale, model)
case "2070":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/rtx-%s-super/", config.NvidiaLocale, model)
case "2080":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/rtx-%s-super/", config.NvidiaLocale, model)
case "2080TI":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/rtx-%s-ti/", config.NvidiaLocale, model)
case "3080":
cartURL = fmt.Sprintf("https://www.nvidia.com/%s/geforce/graphics-cards/30-series/rtx-%s/", config.NvidiaLocale, model)
case "3090":
Expand Down

0 comments on commit b75798e

Please sign in to comment.