aboutsummaryrefslogtreecommitdiff
path: root/lib/channel.ml
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-25 16:02:37 -0700
committerMishio595 <[email protected]>2018-11-25 16:02:37 -0700
commit011e3224c0292dfcb0024daf474d4ef1e00b82f0 (patch)
treea04caad1d49ee4092cfb3bb3506ad5dba85120a4 /lib/channel.ml
parentMajor structural changes (diff)
downloaddisml-011e3224c0292dfcb0024daf474d4ef1e00b82f0.tar.xz
disml-011e3224c0292dfcb0024daf474d4ef1e00b82f0.zip
A lot is going on...
Diffstat (limited to 'lib/channel.ml')
-rw-r--r--lib/channel.ml10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/channel.ml b/lib/channel.ml
deleted file mode 100644
index 904bbde..0000000
--- a/lib/channel.ml
+++ /dev/null
@@ -1,10 +0,0 @@
-type t = {
- id: string;
- name: string;
-}
-
-let from_json term =
- let module J = Yojson.Basic.Util in
- let id = J.(member "id" term |> to_string) in
- let name = J.(member "name" term |> to_string) in
- { id; name; }