Authentication-Results: mail-b.sr.ht; dkim=pass header.d=cmpwn.com header.i=@cmpwn.com Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by mail-b.sr.ht (Postfix) with ESMTPS id 097A011EFF3 for <~adnano/go-gemini-devel@lists.sr.ht>; Sun, 21 Feb 2021 13:41:02 +0000 (UTC) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1613914862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NOIVA7t1Cjv/HzPeXb+yDXRsrVftpimlIzc1uVEOPME=; b=OInZn3akfl/Z37BpFh1x+89Jz/AbZcpLVeINmt9tL8aiKNl3T4kXFZTLjF9F3GeP/LIAgW CSXEx/XFl7xqgqXgmwbZaDDwX+CfTcr81E/kb7+GUA4Jtq6AIOiCRXypO+N+x4/5sLmij2 f2ExvsjzbthEagZkrn7YU6EEPbwvomwCXTjkpM2G1cqB7/kBBlFHIFbgNIcjlvuajnq4vN 376zzWat/mEcCDBADiF5aE6GHpm5cAiLVOWUwqvmy09dsNVZfSCRAxbb0jdc0j5EstxrUz c6eLUs0NW7PBgcc6CuPMydZnU+ZIfPw7gC+4kW4sL6xRgQ7QONEn9pIkzoNfXg== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 21 Feb 2021 08:41:00 -0500 Message-Id: Subject: Re: Seeking feedback for version v0.1.15 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Drew DeVault" To: "Adnan Maolood" , <~adnano/go-gemini-devel@lists.sr.ht> Cc: References: In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: sir@cmpwn.com I love it. I based gemini://srht.pages on this WIP stuff. I'm looking forward to updating it with contexts as well once you release those. On Sun Feb 21, 2021 at 8:21 AM EST, Adnan Maolood wrote: > The context provided to Handler.ServeGemini by the server will terminate > when the request is terminated. This should make dealing with contexts > much easier, at the cost of some verbosity and a long function > signature. You could also consider mimicking the net/http approach by stashing the context in the Request type. > - FileSystem replaced with io/fs.FS. This means we now require Go 1.16. Already noticed this and worked around it, but I would like to humbly request that in the future you take care with rushing in to adopt new Go features. We run the latest Alpine stable in production and I prefer not to pull down newer versions of packages unless it's strictly necessary. They release biannually so the wait isn't too terribly long. Anyway, nice work! I like the changes very much.