commit | 941f215ddc594cae2c4ba0c31fb4eb70e71128fa | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Sun Sep 26 15:14:25 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Sun Sep 26 15:14:25 2021 +0200 |
tree | 8b638f1261c0872c1bfa089bf0a8ca994e7c21d6 | |
parent | 16c312e3b0f45b537fb8a01e00d538de8a40e409 [diff] [blame] |
Support both matrix and da in the command
diff --git a/matrix.go b/matrix.go index 4ce82c9..4b439d0 100644 --- a/matrix.go +++ b/matrix.go
@@ -82,6 +82,11 @@ return mat } +// Type of tokenizer +func (MatrixTokenizer) Type() string { + return MAMAGIC +} + // Save stores the matrix data in a file func (mat *MatrixTokenizer) Save(file string) (n int64, err error) { f, err := os.Create(file)