Authentication-Results: mail-b.sr.ht; dkim=pass header.d=wetterberg-nu.20150623.gappssmtp.com header.i=@wetterberg-nu.20150623.gappssmtp.com Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mail-b.sr.ht (Postfix) with ESMTPS id B57E211EFF3 for <~adnano/go-gemini-devel@lists.sr.ht>; Mon, 22 Feb 2021 08:01:25 +0000 (UTC) Received: by mail-lj1-f174.google.com with SMTP id r11so10720177ljk.9 for <~adnano/go-gemini-devel@lists.sr.ht>; Mon, 22 Feb 2021 00:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wetterberg-nu.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=UaSlQB9bPTLz2YK7uqF60vvooiNMtmpnz8czLab9Ugw=; b=jhKzqDQ9fvquroFfuY5h+QStST0c9l3gxLMiYOvXb8iWQmscebzwkW57WhCsCtIJFE fv3OP7qXLv2NAmm+I+GUd8Lxi0lN+tYa0ZJngHuYqSq1VGbJuUwRp3JUzs/QEGtdspWL TFDHHFtZLT494EPt6Hc46cz1WR3RR5hAfHAdLAgqBXscHr5KC+nDwB6b5vojAdpmL7kL veMN/lCTKTBfV+lYdRIaw2h74Om9hf0H14xmm2m6E/fFO/VTBcX01P84nNg0mjYwqZVJ XBuJ75qcaxqmMjAv58YOYzDJsXL5OZrsUD2lkt0BlaIM0HEpGJBi2oSh3gpG9Eqc0lDc XZ4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=UaSlQB9bPTLz2YK7uqF60vvooiNMtmpnz8czLab9Ugw=; b=Gl2huBTx8sRhs0b+QagNRtKtBAGz/MeqfxF/iddIV1YLjNvnHdFiBZBareNh4a6Zag jhgd9kIBvRctKzQcw5qhq9uM1JhcJTHN+y78lNPMnDKz0iiu5PEKFvrlUwnitIQupcR4 6uFb44yN0O2yjw2r2d+1DeiuiIMRzSFndIQAgn4IOQ8Ft+tAzusx3eSg3L1x5PgHyyIb QTJlr1T2VLyT10tuE4nAc5QoEs0mxzRxqlY9sNy5OPZSWbTfgX5m/gVnjJ0e/1AoHLEC iAs3s4M9HdFLZTIWONNv4JoVUWnwizmEHbVrH4hIHCHz6EYNhHNgljNLM7djVbsTK3gW RocA== X-Gm-Message-State: AOAM5329TtXrcu4eZclAIhnQdeViuwpqnrUsqIiUsufd15jkT7hr8bsz 1dJ5IxmQikTermCOcYXiC3gtmQ== X-Google-Smtp-Source: ABdhPJwvsDt/0UizKL60zEIVudCWkdOlj9vIwUNOhWym5+ikieKdzFjh1LXnBesuox+37Zpwm7Nrlw== X-Received: by 2002:ac2:4d49:: with SMTP id 9mr11349493lfp.439.1613980884037; Mon, 22 Feb 2021 00:01:24 -0800 (PST) Received: from archbishop.localdomain ([79.99.171.65]) by smtp.gmail.com with ESMTPSA id o16sm1830448lfi.194.2021.02.22.00.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 00:01:23 -0800 (PST) Message-ID: <168f40100869c8be973256d404fc207b577a7ab3.camel@wetterberg.nu> Subject: Re: Seeking feedback for version v0.1.15 From: Hugo Wetterberg To: Adnan Maolood , ~adnano/go-gemini-devel@lists.sr.ht Cc: sir@cmpwn.com Date: Mon, 22 Feb 2021 09:01:22 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Great work! I haven't had time to kick the tires as much as Drew, but I looked through the changes yesterday. Big thumbs up on adding contexts to the handlers, I have been missing that. I also look forward to being able to use the nice new embedding feature whenever resources need to be bundled with the binary. I understand Drews more measured approach to upgrades and new features, but I think that in the case of Go it's mitigated by two things: the language isn't volatile (unlike something like Rust) so upgrading in itself isn't that much of a burden; and it's compiled so there are no new runtimes with potential system-wide effects that need to be deployed to production servers, the effect is limited to workstations & build servers (that usally employs some container tech to create stable build envs). There shouldn't be any kind of quasi-religious "move fast" principle to adopting new Go releases, but in this case I think that it's worth it to adopt the interfaces of the new fs package. I'm luke-warm on the sub-packageification of the module, in small projects like this it's usually not necessary, and just adds extra imports for faux modularisation. Though that is probably primarily a matter of personal taste and aesthetics, so ¯\_(ツ)_/¯ Most of all: thank you for your continued work on the project!