summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gopkg.lock84
-rw-r--r--Gopkg.toml42
-rw-r--r--go.mod17
-rw-r--r--go.sum31
4 files changed, 48 insertions, 126 deletions
diff --git a/Gopkg.lock b/Gopkg.lock
deleted file mode 100644
index 256985a..0000000
--- a/Gopkg.lock
+++ /dev/null
@@ -1,84 +0,0 @@
-# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
-
-
-[[projects]]
- name = "github.com/alecthomas/chroma"
- packages = [
- ".",
- "formatters",
- "formatters/html",
- "lexers",
- "lexers/a",
- "lexers/b",
- "lexers/c",
- "lexers/d",
- "lexers/e",
- "lexers/f",
- "lexers/g",
- "lexers/h",
- "lexers/i",
- "lexers/internal",
- "lexers/j",
- "lexers/k",
- "lexers/l",
- "lexers/m",
- "lexers/n",
- "lexers/o",
- "lexers/p",
- "lexers/q",
- "lexers/r",
- "lexers/s",
- "lexers/t",
- "lexers/v",
- "lexers/w",
- "lexers/x",
- "lexers/y",
- "styles"
- ]
- revision = "3020e2ea8c6b1a9c2336022d847c4392c3997f02"
- version = "v0.4.0"
-
-[[projects]]
- branch = "master"
- name = "github.com/danwakefield/fnmatch"
- packages = ["."]
- revision = "cbb64ac3d964b81592e64f957ad53df015803288"
-
-[[projects]]
- name = "github.com/dlclark/regexp2"
- packages = [
- ".",
- "syntax"
- ]
- revision = "487489b64fb796de2e55f4e8a4ad1e145f80e957"
- version = "v1.1.6"
-
-[[projects]]
- name = "github.com/jroimartin/gocui"
- packages = ["."]
- revision = "master"
-
-[[projects]]
- name = "github.com/mattn/go-runewidth"
- packages = ["."]
- revision = "9e777a8366cce605130a531d2cd6363d07ad7317"
- version = "v0.0.2"
-
-[[projects]]
- branch = "master"
- name = "github.com/nsf/termbox-go"
- packages = ["."]
- revision = "e2050e41c8847748ec5288741c0b19a8cb26d084"
-
-[[projects]]
- name = "gopkg.in/yaml.v2"
- packages = ["."]
- revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
- version = "v2.2.1"
-
-[solve-meta]
- analyzer-name = "dep"
- analyzer-version = 1
- inputs-digest = "718867290c9fedc09fe38e3e33673657be421d1bb1019febd0428b784c437be9"
- solver-name = "gps-cdcl"
- solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
deleted file mode 100644
index 3645b3a..0000000
--- a/Gopkg.toml
+++ /dev/null
@@ -1,42 +0,0 @@
-# Gopkg.toml example
-#
-# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
-# for detailed Gopkg.toml documentation.
-#
-# required = ["github.com/user/thing/cmd/thing"]
-# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
-#
-# [[constraint]]
-# name = "github.com/user/project"
-# version = "1.0.0"
-#
-# [[constraint]]
-# name = "github.com/user/project2"
-# branch = "dev"
-# source = "github.com/myfork/project2"
-#
-# [[override]]
-# name = "github.com/x/y"
-# version = "2.4.0"
-#
-# [prune]
-# non-go = false
-# go-tests = true
-# unused-packages = true
-
-
-[[constraint]]
- name = "github.com/alecthomas/chroma"
- version = "0.4.0"
-
-[[constraint]]
- name = "github.com/jroimartin/gocui"
- revision = "master"
-
-[prune]
- go-tests = true
- unused-packages = true
-
-[[constraint]]
- name = "gopkg.in/yaml.v2"
- version = "2.2.1"
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..466517d
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,17 @@
+module github.com/mkchoi212/fac
+
+go 1.21
+
+require (
+ github.com/alecthomas/chroma v0.10.0
+ github.com/jroimartin/gocui v0.5.0
+ gopkg.in/yaml.v2 v2.4.0
+)
+
+require (
+ github.com/dlclark/regexp2 v1.10.0 // indirect
+ github.com/mattn/go-runewidth v0.0.15 // indirect
+ github.com/nsf/termbox-go v1.1.1 // indirect
+ github.com/rivo/uniseg v0.4.4 // indirect
+ github.com/stretchr/testify v1.8.4 // indirect
+)
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..d084f80
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,31 @@
+github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbfjek=
+github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s=
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dlclark/regexp2 v1.4.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc=
+github.com/dlclark/regexp2 v1.10.0 h1:+/GIL799phkJqYW+3YbOd8LCcbHzT0Pbo8zl70MHsq0=
+github.com/dlclark/regexp2 v1.10.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
+github.com/jroimartin/gocui v0.5.0 h1:DCZc97zY9dMnHXJSJLLmx9VqiEnAj0yh0eTNpuEtG/4=
+github.com/jroimartin/gocui v0.5.0/go.mod h1:l7Hz8DoYoL6NoYnlnaX6XCNR62G7J5FfSW5jEogzaxE=
+github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
+github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U=
+github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
+github.com/nsf/termbox-go v1.1.1 h1:nksUPLCb73Q++DwbYUBEglYBRPZyoXJdrj5L+TkjyZY=
+github.com/nsf/termbox-go v1.1.1/go.mod h1:T0cTdVuOwf7pHQNtfhnEbzHbcNyCEcVU4YPpouCbVxo=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
+github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis=
+github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
+github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=