<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: sunday4me</title>
    <description>The latest articles on DEV Community by sunday4me (@sunday4me).</description>
    <link>https://dev.to/sunday4me</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F829510%2Ff0928f5b-28e9-4c63-bb4c-54ad1a768d69.jpeg</url>
      <title>DEV Community: sunday4me</title>
      <link>https://dev.to/sunday4me</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sunday4me"/>
    <language>en</language>
    <item>
      <title>How to use knowledge of OOP in Go</title>
      <dc:creator>sunday4me</dc:creator>
      <pubDate>Mon, 26 Dec 2022 16:06:23 +0000</pubDate>
      <link>https://dev.to/sunday4me/how-to-use-knowledge-of-oop-in-go-1e28</link>
      <guid>https://dev.to/sunday4me/how-to-use-knowledge-of-oop-in-go-1e28</guid>
      <description>&lt;p&gt;Using the Simple Knowledge of OOP to Build simple classes for the following “objects” in Go &lt;/p&gt;

&lt;h2&gt;
  
  
  The following Objects are use
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Car&lt;/li&gt;
&lt;li&gt;Product&lt;/li&gt;
&lt;li&gt;Store&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;The Car class can have any car attributes you can think of.&lt;br&gt;
The Product class should have attributes of a product i.e (the product, quantity of the product in stock, price of the product). A car is a product of the store, but there can be other products so the attribute of the car can be promoted to the Product. The Product class should have methods to display a product, and a method to display the status of a product if it is still in stock or not.&lt;/p&gt;

&lt;p&gt;The Store class should have attributes like&lt;br&gt;
Number of products in the store that are still up for sale&lt;br&gt;
Adding an Item to the store&lt;br&gt;
Listing all product items in the store&lt;br&gt;
Sell an item&lt;br&gt;
Show a list of sold items and the total price&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Kindly &lt;a href="https://github.com/sunday4me/Backend_Golang_S_S_E_Project"&gt;Click Here&lt;/a&gt; to view the complete Project and how to Implement the simple OOP in Golang &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
