{"id":22711701,"url":"https://github.com/manyakrus/go_lines_count","last_synced_at":"2025-03-29T22:16:22.256Z","repository":{"id":227297021,"uuid":"771011082","full_name":"ManyakRus/go_lines_count","owner":"ManyakRus","description":"Calculation of the number of lines and functions in golang repositories, in folders and subfolders, in termial or .csv or .txt files. (Count Lines Of Code)","archived":false,"fork":false,"pushed_at":"2024-11-15T13:30:03.000Z","size":1400,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T06:49:47.061Z","etag":null,"topics":["analyses","automatic","calculate","counter","functions","golang","line","lines","number","repositories","repositories-analysis","repositories-stadistics","source-code","statistics","utility"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ManyakRus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-12T14:32:17.000Z","updated_at":"2024-11-15T13:30:06.000Z","dependencies_parsed_at":"2024-06-22T04:04:16.354Z","dependency_job_id":"e7de9e2c-e12a-4969-9e9b-6ba1c251883e","html_url":"https://github.com/ManyakRus/go_lines_count","commit_stats":null,"previous_names":["manyakrus/go_lines_count"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManyakRus%2Fgo_lines_count","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManyakRus%2Fgo_lines_count/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManyakRus%2Fgo_lines_count/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ManyakRus%2Fgo_lines_count/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ManyakRus","download_url":"https://codeload.github.com/ManyakRus/go_lines_count/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246249217,"owners_count":20747168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analyses","automatic","calculate","counter","functions","golang","line","lines","number","repositories","repositories-analysis","repositories-stadistics","source-code","statistics","utility"],"created_at":"2024-12-10T13:07:50.740Z","updated_at":"2025-03-29T22:16:22.216Z","avatar_url":"https://github.com/ManyakRus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Calculation of the number of lines and functions in repositories,\nfor the golang programming language.\n\nThe go_lines_count console utility is designed to calculate and display\nnumber of lines and functions in repositories (directories),\nto study the source code.\nDisplayed:\n- names of directories and subdirectories\n- number of functions and lines in the catalog\n\nA sample implementation can be found in the examples directory,\nexample:\n```\n21.06.2024:\nName                     \tLevel\tLines count\tFunctions count\n.                        \t1\t505817\t18692\ncalendar                 \t2\t684\t22\ncasebook_service         \t2\t7510\t47\ncontract_checker_service \t2\t831\t13\ncopy                     \t2\t0\t0\ncrud_generator           \t2\t17206\t588\ndebezium_adapter_postgres\t2\t11060\t381\ndebtors_list             \t2\t2407\t35\ngo_lines_count           \t2\t589\t23\nimage_connections        \t2\t1779\t52\nimage_database           \t2\t1836\t45\nimage_packages           \t2\t2379\t72\nmonitor_service          \t2\t2670\t23\nstack_exchange_postgres  \t2\t16720\t397\nstarter                  \t2\t11718\t598\nsync_service             \t2\t427362\t16362\ntelegram_loki            \t2\t639\t22\nwhatsapp_chatgpt         \t2\t427\t12\n\n13.11.2024:\nName                     \tLevel\tLines count\tFunctions count\n.                        \t1\t624509\t22888\ncalendar                 \t2\t684\t22\ncasebook_service         \t2\t7546\t48\ncontract_checker_service \t2\t902\t15\ncopy                     \t2\t0\t0\ncrud_generator           \t2\t27128\t776\nddl_from_protobuf        \t2\t1557\t47\ndebezium_adapter_postgres\t2\t11643\t321\ndebtors_list             \t2\t2456\t36\ngo_lines_count           \t2\t612\t24\nimage_connections        \t2\t1802\t53\nimage_database           \t2\t1864\t46\nimage_packages           \t2\t2402\t73\nmonitor_service          \t2\t2765\t24\nstack_exchange_postgres  \t2\t18550\t425\nstarter                  \t2\t14362\t725\nsync_service             \t2\t528362\t20198\ntelegram_loki            \t2\t1449\t43\nwhatsapp_chatgpt         \t2\t425\t12\n```\n\nI wrote 610 thousand lines of code in 2 years, \nincluding 510 thousand lines with a code generator, and 100 thousand lines of code manually.\n\nInstallation procedure:\n1. Compile this repository\n\u003emake build\n\u003e\nthe go_lines_count file will appear in the \"bin\" folder\n\n3. Run the go_lines_count file with the following parameters:\ngo_lines_count \u003cDIRECTORY_SOURCE\u003e \u003cFILENAME\u003e \u003cFOLDERS_LEVEL\u003e\nstartup example:\n\u003e./go_lines_count ./ ./lines_count.txt 2\n\u003e\n(or fill out the file bin/settings.txt)\n\n4. After launch, a new filled file will be created or text will be displayed in the console.\n```\nSettings:\n1. You can run it without any settings, there will be default settings.\n2. DIRECTORY_SOURCE\nthe folder where the source code in golang is located,\nCalculation will begin from this folder, taking into account subfolders.\n3.FILENAME\n- for empty - the result will be displayed on the terminal screen\n- for .txt files - the result will be saved as a file with text formatting\n- for .csv files - the result will be saved to a file according to the CSV standard (MS Excel)\n4.FOLDERS_LEVEL\n- number of how many nesting levels to display,\ndefault =2\n```\nSource code in Golang language.\nTested on Linux Ubuntu\nReadme from 03/14/2024\n\nLicense:\nSave information about the author and site in this file.\n\nAuthor: Alexander Nikitin\nhttps://github.com/ManyakRus/go_lines_count\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanyakrus%2Fgo_lines_count","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanyakrus%2Fgo_lines_count","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanyakrus%2Fgo_lines_count/lists"}