about summary refs log tree commit diff
path: root/shell/structs/env.go
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-09 18:57:58 +0100
committerEmile <hanemile@protonmail.com>2019-02-09 18:57:58 +0100
commit4904db304d33a6a2d7ede4d8097f31f55bc1c0c1 (patch)
treef392a83939092fbf909edcd12c0cb1bfa5d967db /shell/structs/env.go
parent581710da6c42a2f37966e6f3401e09e780d0d3a0 (diff)
removed the shell, it's just not necessary...
Diffstat (limited to 'shell/structs/env.go')
-rw-r--r--shell/structs/env.go43
1 files changed, 0 insertions, 43 deletions
diff --git a/shell/structs/env.go b/shell/structs/env.go
deleted file mode 100644
index 949460f..0000000
--- a/shell/structs/env.go
+++ /dev/null
@@ -1,43 +0,0 @@
-package structs
-
-// Env structure storing the variables used to define what stars are inserted where
-type Env struct {
-	// general values
-	url       string
-	data      string
-	amount    int64
-	treeindex int64
-}
-
-func NewEnv(url string, data string, amount int64, treeindex int64) *Env {
-	return &Env{url: url, data: data, amount: amount, treeindex: treeindex}
-}
-
-// Getters and setters
-func (e *Env) Treeindex() int64 {
-	return e.treeindex
-}
-func (e *Env) SetTreeindex(treeindex int64) {
-	e.treeindex = treeindex
-}
-
-func (e *Env) Amount() int64 {
-	return e.amount
-}
-func (e *Env) SetAmount(amount int64) {
-	e.amount = amount
-}
-
-func (e *Env) Data() string {
-	return e.data
-}
-func (e *Env) SetData(data string) {
-	e.data = data
-}
-
-func (e *Env) Url() string {
-	return e.url
-}
-func (e *Env) SetUrl(url string) {
-	e.url = url
-}