Skip to content

Commit

Permalink
update go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
qiushiyan committed May 23, 2024
1 parent ea84404 commit c94662e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/clear.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
degit "github.com/qiushiyan/go-degit/pkg"
degit "github.com/qiushiyan/degit/pkg"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"fmt"

degit "github.com/qiushiyan/go-degit/pkg"
degit "github.com/qiushiyan/degit/pkg"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions degit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Degit < Formula
version "0.0.4"

on_macos do
url "https://github.com/qiushiyan/go-degit/releases/download/v0.0.4/go-degit_Darwin_all.tar.gz"
url "https://github.com/qiushiyan/degit/releases/download/v0.0.4/go-degit_Darwin_all.tar.gz"
sha256 "65a49f20378baa9b9ceea7bdfd771280cf158dbe48d0211b307f7adbeea7658b"

def install
Expand All @@ -19,7 +19,7 @@ def install
on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/qiushiyan/go-degit/releases/download/v0.0.4/go-degit_Linux_x86_64.tar.gz"
url "https://github.com/qiushiyan/degit/releases/download/v0.0.4/go-degit_Linux_x86_64.tar.gz"
sha256 "53376e7ce092b7ebce567c8e3a33ac2406bc1e0ab142717986482e090fec56c2"

def install
Expand All @@ -29,7 +29,7 @@ def install
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/qiushiyan/go-degit/releases/download/v0.0.4/go-degit_Linux_arm64.tar.gz"
url "https://github.com/qiushiyan/degit/releases/download/v0.0.4/go-degit_Linux_arm64.tar.gz"
sha256 "9301a7ab4e5953894717538d9e6bc3b367dc6327fc2908eb787ee5474300fbed"

def install
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/qiushiyan/go-degit
module github.com/qiushiyan/degit

go 1.22.2

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/qiushiyan/go-degit/cmd"
"github.com/qiushiyan/degit/cmd"
)

func setDefaultCommandIfNonePresent() {
Expand Down

0 comments on commit c94662e

Please sign in to comment.