{"id":18367975,"url":"https://github.com/devignesh/d2h-go","last_synced_at":"2025-04-10T17:45:20.850Z","repository":{"id":127546633,"uuid":"298052943","full_name":"devignesh/d2h-go","owner":"devignesh","description":"D2H Dish TV Go application","archived":false,"fork":false,"pushed_at":"2020-10-20T12:32:23.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-08T12:44:07.050Z","etag":null,"topics":["cli","go","golang","test"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devignesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-09-23T17:59:49.000Z","updated_at":"2024-06-19T07:52:03.066Z","dependencies_parsed_at":"2023-05-23T06:45:14.896Z","dependency_job_id":null,"html_url":"https://github.com/devignesh/d2h-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devignesh%2Fd2h-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devignesh%2Fd2h-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devignesh%2Fd2h-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devignesh%2Fd2h-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devignesh","download_url":"https://codeload.github.com/devignesh/d2h-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262333,"owners_count":21074290,"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":["cli","go","golang","test"],"created_at":"2024-11-05T23:24:10.621Z","updated_at":"2025-04-10T17:45:20.832Z","avatar_url":"https://github.com/devignesh.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# d2h-go Application\n\nD2H Dish TV Go application\n\nDirect to home (D2H) operator DishTV wants you to design a mini software\nsystem for its customers.\n\nDishTV offers multiple predefined channel packages (called as base packs\nhenceforth) and multiple services. Base packs available to purchase are Gold and\nSilver which comes with certain channels.\n\nsimple command-line application\nhttps://www.Deftouch.co | Backend Developer\n\n---\n\n## Run the Go application:\n\nPlease make sure that you are in inside gopath directory\n\n    cd go/src/\n\n    Clone:\n    ----------\n    git clone git@github.com:devignesh/d2h-go.git\n\n    cd d2h-go\n\n    go run d2h.go  // Run the file\n\n    go build      //build the go file\n\n    ./d2h-go      // Run the go\n\n## Sample Outputs\n\n    Welcome to DishTV\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n\n    -----------------------------------------------------------\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    1\n\n    View current balance in the account\n    Current balance is 100 Rs.\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    2\n\n    Recharge Account\n    Enter the amount to recharge:\n    5000\n    Recharge completed successfully.\n    Current balance is 5100 Rs\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    3\n\n    Available packs for subscription:\n    Silver pack:  Zee, Sony, Star Plus: 50\n    Gold Pack: Zee, Sony, Star Plus, Discovery, NatGeo: 100\n    Available channels for subscription\n    Discovery 10\n    NatGeo 20\n    Zee 10\n    Sony 15\n    StarPlus 20\n    Available services for subscription\n    LearnEnglish service: 200\n\n    LearnCooking service: 100\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    4\n\n    Subscribe to channel packs\n    Enter the Pack you wish to subscribe: (Silver: 'S', Gold: 'G'):\n    S\n    No of months:\n    5\n    Monthly price: 50 Rs.\n    No of months: 5\n    Subscription Amount: 250\n    Discount applied: 25 Rs.\n    Final Price after discount: 225 Rs.\n    Account balance: 4875\n    Email notification sent successfully\n    SMS notification sent successfully\n\n    You have successfully subscribed the following packs -  Silvar\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    5\n\n\n    Add channels to existing subscription\n    Enter channel names to add (separated by commas):\n    Zee,Sony\n    Channels added successfully.\n    Account balance: 4850 Rs.\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    6\n\n    Subscribe to special services\n    Enter the service name:\n    LearnCooking\n    Service subscribed successfully\n    Account balance: 4750\n    Email notification sent successfully\n    SMS notification sent successfully\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    7\n\n    View current subscription details\n\n    Currently subscribed packs and channels: Silvar + Zee,Sony\n\n    Currently subscribed services: LearnCooking\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    8\n\n    Update email and phone number for notifications\n    Enter the email:\n    vigneshkumar.mca2016@adhiyamaan.in\n    Enter phone:\n    9047660920\n    Customer Name: Vignesh\n    Updated Email Address: vigneshkumar.mca2016@adhiyamaan.in\n    Updated Phone Number: 9047660920\n    Email and Phone updated successfully\n\n    1: View current balance in the account\n    2: Recharge Account\n    3: View available packs, channels and services\n    4: Subscribe to base packs\n    5: Add channels to an existing subscription\n    6: Subscribe to special services\n    7: View current subscription details\n    8: Update email and phone number for notifications\n    9: Exit\n\n    Enter the option\n    9\n    exit status 1\n===============================================================","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevignesh%2Fd2h-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevignesh%2Fd2h-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevignesh%2Fd2h-go/lists"}