Changeset 7 in code for trunk/main.go


Ignore:
Timestamp:
Dec 14, 2022, 3:01:36 AM (2 years ago)
Author:
koizumi.aoi
Message:

Release v1.3:

  • Rename to stcli
  • Removed useless imports
  • Removed a no-op function call
  • Update README

Signed-off-by: Aoi K <koizumi.aoi@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/main.go

    r6 r7  
    1 // $KyokoNet: stcli-go,v 1.2 2022/12/13 22:13:00 akoizumi Exp
    2 // Command line client for SimplyTranslate, a privacy friendly frontend to Google Translate
     1// $KyokoNet: stcli,v 1.3 2022/12/13 23:57:00 akoizumi Exp
     2// Command line client for SimplyTranslate, a privacy friendly frontend to other translation engines
    33package main
    44
     
    1111        "net/http"
    1212        "net/url"
    13         "os"
    1413)
    1514var (
     
    3736        if len(input) == 0 || len(to) == 0 {
    3837                log.Fatal("Missing either the text or the target language.")
    39                 os.Exit(1)
    4038        }
    4139        // Map a variable to the struct
Note: See TracChangeset for help on using the changeset viewer.