Skip to content

Conversation

@ldez
Copy link
Member

@ldez ldez commented Jul 17, 2025

This is a special fork: the methods of the structure Client are converted to functions that use Client as a parameter.

The goal is to break the link between the Client structure and the other structures to reduce the binary size.

This automatic approach for the fork is possible because the official alidns-20150109 library is 100 % generated.

https://github.com/go-acme/alidns-20150109

Version Size inside the binary Module size (GOCACHE)
official 4.6 MB 2.04 MiB
fork 112 kB 2.04 MiB

The cache size has been reduced from 88.654 MiB to 2.04 MiB inside #2558

@ldez ldez force-pushed the feat/dns/alidns-trim branch from 29a9b52 to e1c73f2 Compare July 17, 2025 19:57
@ldez ldez enabled auto-merge (squash) July 17, 2025 19:57
@ldez ldez merged commit 79f496e into go-acme:master Jul 17, 2025
7 checks passed
@ldez ldez deleted the feat/dns/alidns-trim branch July 17, 2025 20:15
@ldez ldez modified the milestones: unreleased, v4.25 Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants